Add a test for equality
authorLuke Lau <luke_lau@icloud.com>
Mon, 29 Jul 2019 23:49:40 +0000 (00:49 +0100)
committerLuke Lau <luke_lau@icloud.com>
Mon, 29 Jul 2019 23:49:40 +0000 (00:49 +0100)
tests.scm

index 67d8b306140d6502c363fe153227ee4445c6d60e..f078229dd6364f78ac5769341f8f53b8d3edad27 100644 (file)
--- a/tests.scm
+++ b/tests.scm
@@ -69,6 +69,7 @@
            'int)
 
 (test-prog '(+ 1 2) 3)
+(test-prog '(bool->int (= 2 0)) 0)
 (test-prog '((lambda (x) ((lambda (y) (+ x y)) 42)) 100) 142)
 
 (test-prog '(* 10 5) 50)