diff options
author | Paul Phillips <paulp@improving.org> | 2012-03-28 12:57:34 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-03-28 14:02:54 -0700 |
commit | 97f03245d9646b9ade43418dee7dc0d2a6203ce7 (patch) | |
tree | 2408e5ac41c3a6391606dd08daef5391c365babe /test/files/run/lisp.check | |
parent | 3e40fb5d94a4d185c93861b9caf86ac92a04ef2a (diff) | |
download | scala-97f03245d9646b9ade43418dee7dc0d2a6203ce7.tar.gz scala-97f03245d9646b9ade43418dee7dc0d2a6203ce7.tar.bz2 scala-97f03245d9646b9ade43418dee7dc0d2a6203ce7.zip |
Revived the lisp test.
All hail the lisp test!
Closes SI-4579.
Diffstat (limited to 'test/files/run/lisp.check')
-rw-r--r-- | test/files/run/lisp.check | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/files/run/lisp.check b/test/files/run/lisp.check new file mode 100644 index 0000000000..38ca7b655d --- /dev/null +++ b/test/files/run/lisp.check @@ -0,0 +1,25 @@ +(lambda (x) (+ (* x x) 1)) +(lambda (x) (+ (* x x) 1)) + +( '(1 2 3)) = (1 2 3) +(car '(1 2 3)) = 1 +(cdr '(1 2 3)) = (2 3) +(null? '(2 3)) = 0 +(null? '()) = 1 + +faculty(10) = 3628800 +faculty(10) = 3628800 +foobar = ("a" "bc" "def" "z") + +List('lambda, List('x), List('+, List('*, 'x, 'x), 1)) +(lambda (x) (+ (* x x) 1)) + +( '(1 2 3)) = (1 2 3) +(car '(1 2 3)) = 1 +(cdr '(1 2 3)) = (2 3) +(null? '(2 3)) = 0 +(null? '()) = 1 + +faculty(10) = 3628800 +faculty(10) = 3628800 +foobar = ("a" "bc" "def" "z") |