sunterlib/s48/krims/test.scm

19 lines
451 B
Scheme
Raw Normal View History

2005-08-16 19:12:29 -04:00
;; poor man's test suite
;; run stuff ,in onebol-testbed
(assert #t)
(deny #f)
(should-raise* failure? (lambda () (fail "")))
(should-raise* failure? (lambda () (assert #f)))
(should-raise* failure? (lambda () (deny #t)))
(should-raise* (lambda (condition)
(and (error? condition)
(not (failure? condition))))
(lambda ()
(shouldnt-raise* failure? (lambda () (error "")))))