Added wrap/unwrap and a vau test that uses wrap!

This commit is contained in:
Nathan Braswell
2021-08-16 01:20:10 -04:00
parent 550565a235
commit 62a238e041
2 changed files with 27 additions and 5 deletions

View File

@@ -17,6 +17,7 @@
vau_with_add_called (read-string "((vau (y) (+ 1 2)) 4)")
vau_with_passthrough (read-string "((vau (y) y) 4)")
vau_with_no_eval_add (read-string "((vau (y) (+ 13 2 y)) 4)")
vau_with_wrap_add (read-string "((wrap (vau (y) (+ 13 2 y))) (+ 3 4))")
vau_with_add_p (read-string "(vau de (y) (+ (eval y de) (+ 1 2)))")
vau_with_add_p_called (read-string "((vau de (y) (+ (eval y de) (+ 1 2))) 4)")
_ (test-case simple_add)
@@ -24,6 +25,7 @@
_ (test-case vau_with_add_called)
_ (test-case vau_with_passthrough)
_ (test-case vau_with_no_eval_add)
_ (test-case vau_with_wrap_add)
;_ (test-case vau_with_add_p)
;_ (test-case vau_with_add_p_called)
) nil))