Some tests...

This commit is contained in:
Sanel Zukan 2008-11-03 13:22:14 +00:00
parent f340e3a32b
commit cfff7895ed
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,18 @@
;;
;; if-not expression
;;
(load "../lib/common.ss")
(ut-add-test
"Check 'if-not' expression"
(begin
(define a 0)
(define b 1)
(and
(if-not a #f #t)
(if-not (= a 3) #t #f)
(if-not (= b 1) #f #t)
(if-not (= b 0) #t #f)
)))

View File

@ -11,6 +11,7 @@
(load "utest.ss") (load "utest.ss")
(load "math.ss") (load "math.ss")
(load "string.ss") (load "string.ss")
(load "if-not.ss")
(ut-println "") (ut-println "")
(ut-println " =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=") (ut-println " =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=")