Prepare for notifications.
This commit is contained in:
parent
ac3dce41a6
commit
1551ea15e6
3 changed files with 27 additions and 5 deletions
|
@ -29,7 +29,7 @@
|
|||
util-list
|
||||
(
|
||||
filter
|
||||
utils-tests!
|
||||
util-list-tests!
|
||||
)
|
||||
|
||||
(import scheme
|
||||
|
@ -51,9 +51,9 @@
|
|||
res)))))
|
||||
|
||||
;; Performs utils module self-tests.
|
||||
(define (utils-tests!)
|
||||
(define (util-list-tests!)
|
||||
(run-tests
|
||||
utils
|
||||
util-list
|
||||
(test-equal? filter (filter odd? '(1 2 3 4)) '(1 3))
|
||||
(test-equal? filter (filter odd? '(2 4)) '())
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue