;;;; (import test) #; ;FIXME (import (chicken format) (test-utils gloss format) (test-utils gloss basic)) (import (chicken format) (test-utils gloss)) (import (test-utils run)) ;Must set 1st thing (runid 'EGG-NAME "test-utils") ;NOTE order (define *tests* '("./test-utils-test.scm" "./three-test.scm" "./two-test.scm")) (test-group "run-ident" (test-error "not alist is error" (run-ident 23)) (test-error "bad alist is ferror" (run-ident '((23 . #f) "doesn't matter"))) (test-group "does update" (let ((new '((a . #f) (b . #t) (c . 23))) (old (run-ident)) ) (test-assert "cur is new" (list? (run-ident new))) (test "new is cur" new (run-ident)) (test-assert "cur is old" (list? (run-ident old))) ) ) ) (test-group "test-orderstring id)) '() (runid id))) (gloss "level 1 (before 1st test)") (test-group "check using deprecated names" (for-each empty-before '(*csi-options* *csi-excl-options* *csc-options* *csc-excl-options* *test-excl-names*)) ) (gloss "level 1 (after 1st test)") (test "lexo test order" string