aboutsummaryrefslogtreecommitdiffstats
path: root/test.scm
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2024-12-31 18:58:20 -0500
committerGravatar Peter McGoron 2024-12-31 18:58:20 -0500
commit992bbec042facc6842aae02183ccd89d6c8f8749 (patch)
tree4dd44592c8bac5e0e180da3e5e36573f814a9d63 /test.scm
parentcorrectly pass closures in an argument list (diff)
fix evaluation of bound variable continuationsHEADmaster
Diffstat (limited to 'test.scm')
-rw-r--r--test.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/test.scm b/test.scm
index 978746d..1601329 100644
--- a/test.scm
+++ b/test.scm
@@ -135,3 +135,11 @@
'(''#f)
(e1 '''#f)))
+(test-group "procedures"
+ (test-assert "closure"
+ (cps-closure?
+ (car (e1 '(lambda (x) x)))))
+ (test "apply closure"
+ '(5)
+ (e1 '((lambda (x) x) 5))))
+