projects
/
scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b2dd144
)
Add a test for equality
author
Luke Lau
<luke_lau@icloud.com>
Mon, 29 Jul 2019 23:49:40 +0000
(
00:49
+0100)
committer
Luke Lau
<luke_lau@icloud.com>
Mon, 29 Jul 2019 23:49:40 +0000
(
00:49
+0100)
tests.scm
patch
|
blob
|
history
diff --git
a/tests.scm
b/tests.scm
index 67d8b306140d6502c363fe153227ee4445c6d60e..f078229dd6364f78ac5769341f8f53b8d3edad27 100644
(file)
--- a/
tests.scm
+++ b/
tests.scm
@@
-69,6
+69,7
@@
'int)
(test-prog '(+ 1 2) 3)
'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)
(test-prog '((lambda (x) ((lambda (y) (+ x y)) 42)) 100) 142)
(test-prog '(* 10 5) 50)