functions: Wrap the test for apply-tbf/boolean in test-case.
This commit is contained in:
parent
194bb1bb10
commit
dfe8766424
1 changed files with 4 additions and 3 deletions
|
@ -275,6 +275,7 @@
|
|||
(01->boolean (apply-tbf tbf (vector-map any->01 inputs))))
|
||||
|
||||
(module+ test
|
||||
(test-case "apply-tbf/boolean"
|
||||
(define f1 (tbf #(2 -2) 1))
|
||||
(check-equal? (tabulate/boolean (λ (x y) (apply-tbf/boolean f1 (vector x y))))
|
||||
'((#f #f #f) (#f #t #f) (#t #f #t) (#t #t #f))))
|
||||
'((#f #f #f) (#f #t #f) (#t #f #t) (#t #t #f)))))
|
||||
|
|
Loading…
Reference in a new issue