aboutsummaryrefslogtreecommitdiff
path: root/tests/test.lisp
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-06-21 17:19:11 +0800
committerMistivia <i@mistivia.com>2025-06-21 17:19:11 +0800
commitfec7a34cdc55f226e69d98267e42fa4b52b0193c (patch)
tree8ac2bc5f7c6372a722a080757c2b6f0f6ed12fc1 /tests/test.lisp
parent1de8cda84460198e764a94c1f0f106ecaf001331 (diff)
move test files
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)