aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.cpp
diff options
context:
space:
mode:
authorobiwankennedy <renaud@rolisteam.org>2014-01-30 11:50:31 +0100
committerobiwankennedy <renaud@rolisteam.org>2014-01-30 11:50:31 +0100
commit0714a00cd2ab07c24f12ed5184ed1faf9e501fa8 (patch)
tree1fb964605eae0540454244c3542f6371d301f9e5 /main.cpp
parent1e67a33c0dfd0c8a1d3040a8c22eef84661ee041 (diff)
downloadOneRoll-0714a00cd2ab07c24f12ed5184ed1faf9e501fa8.tar.gz
OneRoll-0714a00cd2ab07c24f12ed5184ed1faf9e501fa8.zip
Update main.cpp
adding operator priority test
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index 1abb895..6f11252 100644
--- a/main.cpp
+++ b/main.cpp
@@ -11,10 +11,16 @@ int main(int argc, char *argv[])
QStringList commands;
- commands <<"1+(4*3)D10"
+ commands << "2*(4+4)"
+ << "1+(4*3)D10"
+ << "2+4/4"
+ << "2D10*2D20*8"
+ <<"1+(4*3)D10"
+ << "1D100a[>=95]a[>=96]a[>=97]a[>=98]a[>=99]e[>=100]"
<< "3D100"
+ << "3k3"
<< "10D10e[>=6]s"
- << "100190D6666666s"
+ //<< "100190D6666666s"
<< "10D10e10s"
<< "10D10s"
<< "15D10e10c[8-10]"