From 94846eb7cf636276d7f177dc54387162d2593812 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 3 Nov 2022 20:31:20 +0100 Subject: add boolean --- tests/test.mew | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests') 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)) -- cgit 1.4.1