Adding tests for 'begin'
parent
eddb4f4994
commit
b2cbe83be8
|
@ -34,4 +34,12 @@ init-env
|
||||||
|
|
||||||
{ "b" } [
|
{ "b" } [
|
||||||
"(cond (#f \"a\") (#t \"b\"))" lisp-string>factor call
|
"(cond (#f \"a\") (#t \"b\"))" lisp-string>factor call
|
||||||
|
] unit-test
|
||||||
|
|
||||||
|
{ 5 } [
|
||||||
|
"(begin (+ 1 4))" lisp-string>factor call
|
||||||
|
] unit-test
|
||||||
|
|
||||||
|
{ 3 } [
|
||||||
|
"((lambda (x) (if x (begin (+ 1 2)) (- 3 5))) #t)" lisp-string>factor call
|
||||||
] unit-test
|
] unit-test
|
Loading…
Reference in New Issue