networks: Fix the tests for network-form->network.
This commit is contained in:
parent
354fad2b1d
commit
f016fbb0ca
1 changed files with 2 additions and 2 deletions
|
@ -290,8 +290,8 @@
|
||||||
(define bn (network-form->network
|
(define bn (network-form->network
|
||||||
(network-form (hash 'a '(and a b)
|
(network-form (hash 'a '(and a b)
|
||||||
'b '(not b))
|
'b '(not b))
|
||||||
(hash 'a (#f #t)
|
(hash 'a '(#f #t)
|
||||||
'b (#f #t)))))
|
'b '(#f #t)))))
|
||||||
(define s (make-state '((a . #t) (b . #t))))
|
(define s (make-state '((a . #t) (b . #t))))
|
||||||
(check-equal? ((hash-ref (network-functions bn) 'a) s) #t)))
|
(check-equal? ((hash-ref (network-functions bn) 'a) s) #t)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue