summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-11-07 22:10:14 +0100
committerLeah Neukirchen <leah@vuxu.org>2022-11-07 22:10:14 +0100
commitf5424bdb870afc969bf23231123602ea3dbde8a6 (patch)
treea7d3e911790a21f9886a0600428d48d3b213422d /tests
parent40befb16fe6c3210a2473e20ef70897058d97a60 (diff)
downloadmew-f5424bdb870afc969bf23231123602ea3dbde8a6.tar.gz
mew-f5424bdb870afc969bf23231123602ea3dbde8a6.tar.xz
mew-f5424bdb870afc969bf23231123602ea3dbde8a6.zip
add proj
Diffstat (limited to 'tests')
-rw-r--r--tests/test.mew6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test.mew b/tests/test.mew
index feaf357..9cbef3e 100644
--- a/tests/test.mew
+++ b/tests/test.mew
@@ -444,4 +444,10 @@
   (test #t (void? (void)))
   (test #t (void? (if #f #f))))
 
+(test-group "proj"
+  (test 1 ((proj 0) 1 2 3))
+  (test 2 ((proj 1) 1 2 3))
+  (test 3 ((proj 2) 1 2 3))
+  (test-error ((proj 4) 1 2 3)))
+
 (test-exit)