network: Fix the test for make-boolean-network.
This commit is contained in:
parent
b38adc89cf
commit
ff6fa2c88b
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@
|
|||
(define f2 (λ (s) (let ([x2 (hash-ref s 'x2)])
|
||||
(not x2))))
|
||||
(define bn (make-boolean-network (hash 'x1 f1 'x2 f2)))
|
||||
(check-equal? (hash 'x1 '(#f #t) 'x2 '(#f #t)))))
|
||||
(check-equal? (network-domains bn) (hash 'x1 '(#f #t) 'x2 '(#f #t)))))
|
||||
|
||||
;;; Given a state s updates all the variables from xs.
|
||||
(define (update network s xs)
|
||||
|
|
Loading…
Reference in a new issue