networks: Fix the tests of make-boolean-network-form.
This commit is contained in:
parent
f016fbb0ca
commit
0a4035d9f7
1 changed files with 5 additions and 2 deletions
|
@ -302,8 +302,11 @@
|
||||||
|
|
||||||
(module+ test
|
(module+ test
|
||||||
(test-case "make-boolean-network-form"
|
(test-case "make-boolean-network-form"
|
||||||
(make-boolean-network-form (hash 'a '(and a b)
|
(check-equal? (make-boolean-network-form (hash 'a '(and a b)
|
||||||
'b '(not b)))))
|
'b '(not b)))
|
||||||
|
(network-form
|
||||||
|
'#hash((a . (and a b)) (b . (not b)))
|
||||||
|
'#hash((a . (#f #t)) (b . (#f #t)))))))
|
||||||
|
|
||||||
;;; Build a Boolean network from a given mapping assigning forms
|
;;; Build a Boolean network from a given mapping assigning forms
|
||||||
;;; to variables.
|
;;; to variables.
|
||||||
|
|
Loading…
Reference in a new issue