Adding tests for <LISP ... LISP>
parent
b24a7ee3c4
commit
c25abc5d00
|
@ -76,12 +76,12 @@ IN: lisp.test
|
|||
"((lambda (&rest xs) xs) 1 2 3 4)" lisp-eval cons>seq
|
||||
] unit-test
|
||||
|
||||
! { 10 } [
|
||||
! <LISP (begin (+ 1 2) (+ 9 1)) LISP>
|
||||
! ] unit-test
|
||||
{ 10 } [
|
||||
<LISP (begin (+ 1 2) (+ 9 1)) LISP>
|
||||
] unit-test
|
||||
|
||||
! { 4 } [
|
||||
! <LISP ((lambda (x y) (if x (+ 1 y) (+ 2 y))) #t 3) LISP>
|
||||
! ] unit-test
|
||||
{ 4 } [
|
||||
<LISP ((lambda (x y) (if x (+ 1 y) (+ 2 y))) #t 3) LISP>
|
||||
] unit-test
|
||||
|
||||
] with-interactive-vocabs
|
||||
|
|
Loading…
Reference in New Issue