networks: Fix the tests for network-form->network.

This commit is contained in:
Sergiu Ivanov 2020-11-22 22:58:21 +01:00
parent 354fad2b1d
commit f016fbb0ca

View file

@ -290,8 +290,8 @@
(define bn (network-form->network
(network-form (hash 'a '(and a b)
'b '(not b))
(hash 'a (#f #t)
'b (#f #t)))))
(hash 'a '(#f #t)
'b '(#f #t)))))
(define s (make-state '((a . #t) (b . #t))))
(check-equal? ((hash-ref (network-functions bn) 'a) s) #t)))