aboutsummaryrefslogtreecommitdiffstats
path: root/test.sh
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-25 09:55:29 +0000
committerDavid Robillard <d@drobilla.net>2010-12-25 09:55:29 +0000
commit7ed8bd637f77fc0c9abab2bf149c31d33f08a050 (patch)
treecd6cc97cccab04248cdfbea3a585cc5531a9c2d2 /test.sh
parentbc03a277689380c5c667a192b5e7d2e3799106a7 (diff)
downloadresp-7ed8bd637f77fc0c9abab2bf149c31d33f08a050.tar.gz
resp-7ed8bd637f77fc0c9abab2bf149c31d33f08a050.tar.bz2
resp-7ed8bd637f77fc0c9abab2bf149c31d33f08a050.zip
Add let-over-lambda test case.
git-svn-id: http://svn.drobilla.net/resp/resp@350 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh32
1 files changed, 21 insertions, 11 deletions
diff --git a/test.sh b/test.sh
index 09432a7..fa01f80 100755
--- a/test.sh
+++ b/test.sh
@@ -13,16 +13,26 @@ run() {
fi
}
-run './test/ack.resp' '8189 : Int'
-run './test/closure.resp' '6 : Int'
-run './test/def.resp' '4 : Int'
-run './test/deffn.resp' '3 : Int'
-run './test/fac.resp' '720 : Int'
-run './test/inlinefn.resp' '2 : Int'
-run './test/nest.resp' '8 : Int'
-run './test/tup.resp' '5 : Int'
-run './test/string.resp' '"Hello, world!" : String'
-run './test/let.resp' '5 : Int'
-run './test/match.resp' '"Hello, rectangle!" : String'
+# Basic lexical sanity
+run './test/def.resp' '4 : Int'
+run './test/deffn.resp' '3 : Int'
+run './test/inlinefn.resp' '2 : Int'
+run './test/nest.resp' '8 : Int'
+
+# Basic data types
+run './test/string.resp' '"Hello, world!" : String'
+run './test/tup.resp' '5 : Int'
+
+# Recursive arithmetic functions
+run './test/fac.resp' '720 : Int'
+run './test/ack.resp' '8189 : Int'
+
+# Closures
+run './test/closure.resp' '6 : Int'
+run './test/let-over-fn.resp' '2 : Int'
+run './test/let.resp' '5 : Int'
+
+# Algebraic data types
+run './test/match.resp' '"Hello, rectangle!" : String'
#run './test/poly.resp' '#t : Bool'