aboutsummaryrefslogtreecommitdiff
path: root/tests/test.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test.lisp')
-rw-r--r--tests/test.lisp14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/test.lisp b/tests/test.lisp
new file mode 100644
index 0000000..07bdd5b
--- /dev/null
+++ b/tests/test.lisp
@@ -0,0 +1,14 @@
+(defmacro test-module (name)
+ `(progn
+ (princ (format "[TEST] %s\n" ,name))
+ (load (format "%s.lisp" ,name))
+ (princ (format "[PASS] %s\n" ,name))))
+
+(test-module "arithmetic")
+(test-module "control-flow")
+(test-module "lambda")
+(test-module "comment")
+(test-module "macro")
+(test-module "let-binding")
+
+(exit)