diff options
author | Lukas Rytz <lukas.rytz@typesafe.com> | 2016-02-03 16:24:35 +0100 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@typesafe.com> | 2016-02-03 16:24:35 +0100 |
commit | b1981c0358ada039578dc857bb24c6c81db37bf7 (patch) | |
tree | d1212e3335ac0e9a78dcdfeabddea2e0734b2968 /test/files/run/lisp.check | |
parent | 2c78fb31c9f34ccfe262d7b8660c9e486424823a (diff) | |
parent | 4af9f1566dde56adecdba2690df71e39552e32fe (diff) | |
download | scala-b1981c0358ada039578dc857bb24c6c81db37bf7.tar.gz scala-b1981c0358ada039578dc857bb24c6c81db37bf7.tar.bz2 scala-b1981c0358ada039578dc857bb24c6c81db37bf7.zip |
Merge pull request #4920 from lrytz/oldOptimizerTests
restore / rewrite various tests
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") + |