diff options
author | Paul Phillips <paulp@improving.org> | 2011-05-31 05:09:18 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-05-31 05:09:18 +0000 |
commit | 1c2d44dda075ef63933502f0791d500f8650a457 (patch) | |
tree | 46d81af074777781717234cf096bc9c7ed5966c3 /test/files/run/lisp.check | |
parent | ad328ff2c016787b99300e397549d15dc2965ed3 (diff) | |
download | scala-1c2d44dda075ef63933502f0791d500f8650a457.tar.gz scala-1c2d44dda075ef63933502f0791d500f8650a457.tar.bz2 scala-1c2d44dda075ef63933502f0791d500f8650a457.zip |
Restored the lisp.scala test.
test in r25038, so closes #4512, no review.
Diffstat (limited to 'test/files/run/lisp.check')
-rw-r--r-- | test/files/run/lisp.check | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/files/run/lisp.check b/test/files/run/lisp.check new file mode 100644 index 0000000000..64053f26d0 --- /dev/null +++ b/test/files/run/lisp.check @@ -0,0 +1,26 @@ +(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") + |