ede/tools/capone/test/if-not.ss
2008-11-03 13:22:14 +00:00

19 lines
245 B
Scheme

;;
;; 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)
)))