summaryrefslogtreecommitdiff
path: root/tests/f.lisp
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2019-11-18 18:36:57 +0100
committertomsmeding <tom.smeding@gmail.com>2019-11-18 18:36:57 +0100
commit481884fb892f949478dad8d801ced704baea986c (patch)
tree8c5bcf1d306c8ad3d39d449da8def74cb24dca2d /tests/f.lisp
parent4746aa52f85f4dc3ce8e195f0a5fd8afe2d54378 (diff)
Automatic testing of examples
Diffstat (limited to 'tests/f.lisp')
-rw-r--r--tests/f.lisp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/f.lisp b/tests/f.lisp
new file mode 100644
index 0000000..5644138
--- /dev/null
+++ b/tests/f.lisp
@@ -0,0 +1,7 @@
+(print 42)
+(print "kaas")
+(if 42 (print "ja") (print "nee"))
+(define f (lambda (a) (print a)))
+(f "iets")
+(define f (lambda (a) (print a a)))
+(f "iets")