ede/tools/capone/test/if-not.ss

19 lines
245 B
Scheme
Raw Normal View History

2008-11-03 16:22:14 +03:00
;;
;; 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)
)))