summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2015-12-08 22:45:16 +0200
committerOskari Timperi <oskari.timperi@iki.fi>2015-12-08 22:45:16 +0200
commit34758ebd78d39075dc58f88d33a28c700612121c (patch)
tree0e7edc6e525196bdc6e7dbb88fb0111c222b3a8b /tests
parent266012d2beb4bfb0e4b342fb697a2472cba7d25d (diff)
downloadlbasi-34758ebd78d39075dc58f88d33a28c700612121c.tar.gz
lbasi-34758ebd78d39075dc58f88d33a28c700612121c.zip
handle multiple +/- operations at the beginning of expression
Diffstat (limited to 'tests')
-rw-r--r--tests/calc1.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/calc1.txt b/tests/calc1.txt
index ad30e6e..127a498 100644
--- a/tests/calc1.txt
+++ b/tests/calc1.txt
@@ -31,3 +31,9 @@ Simple calculations
10/2 5
3*4 12
+
+Multiple Runs Of Plus And Minus
+ [Template] The result of ${calculations} should be ${expected}
+ 1+1+1 3
+ 1-1-1 -1
+ 5+1-2 4