summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/vars1.bth2
-rw-r--r--tests/vars2.bth4
-rw-r--r--tests/vars2.out1
3 files changed, 6 insertions, 1 deletions
diff --git a/tests/vars1.bth b/tests/vars1.bth
index 718b52b..6e91bf0 100644
--- a/tests/vars1.bth
+++ b/tests/vars1.bth
@@ -1,2 +1,2 @@
(+ 2 (let (a 10)
- (* a a)))
+ (* a a)))
diff --git a/tests/vars2.bth b/tests/vars2.bth
new file mode 100644
index 0000000..3474d54
--- /dev/null
+++ b/tests/vars2.bth
@@ -0,0 +1,4 @@
+(+ 2 (* 6 (let (a 10
+ b 20
+ c 30)
+ (* b b))))
diff --git a/tests/vars2.out b/tests/vars2.out
new file mode 100644
index 0000000..65b7a7f
--- /dev/null
+++ b/tests/vars2.out
@@ -0,0 +1 @@
+2402