diff options
author | Leah Neukirchen <leah@vuxu.org> | 2022-11-03 20:31:20 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-11-03 20:31:20 +0100 |
commit | 94846eb7cf636276d7f177dc54387162d2593812 (patch) | |
tree | 5f6a4494b0e7bb85dd81b07e052c963a7f4e2796 /tests | |
parent | 3e02069ff0df373cc3211d354429f6f65c71cf72 (diff) | |
download | mew-94846eb7cf636276d7f177dc54387162d2593812.tar.gz mew-94846eb7cf636276d7f177dc54387162d2593812.tar.xz mew-94846eb7cf636276d7f177dc54387162d2593812.zip |
add boolean
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test.mew | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test.mew b/tests/test.mew index f8ee39d..311db5a 100644 --- a/tests/test.mew +++ b/tests/test.mew @@ -64,6 +64,13 @@ (test -1/2 (dec 1/2)) (test-error (dec "foo"))) +(test-group "boolean" + (test #f (boolean #f)) + (test #t (boolean #t)) + (test #t (boolean 1)) + (test #t (boolean "foo")) + (test #t (boolean (void)))) + (test-group "<>?" (test #t (<>? 4 5)) (test #t (<>? 4 5 6)) |