networks-test: Use make-boolean-domains.
This commit is contained in:
parent
251a7dcf23
commit
798178852c
1 changed files with 1 additions and 1 deletions
|
@ -76,6 +76,6 @@
|
||||||
'((a . (#f #t)) (b . (#f #t))))
|
'((a . (#f #t)) (b . (#f #t))))
|
||||||
|
|
||||||
(let ([n #hash((a . (not b)) (b . a))]
|
(let ([n #hash((a . (not b)) (b . a))]
|
||||||
[doms (make-immutable-hash (for/list ([var '(a b)]) (cons var '(#f #t))))])
|
[doms (make-boolean-domains '(a b))])
|
||||||
(check-equal? (get-interaction-sign n doms 'a 'b) '+)
|
(check-equal? (get-interaction-sign n doms 'a 'b) '+)
|
||||||
(check-equal? (get-interaction-sign n doms 'b 'a) '-)))
|
(check-equal? (get-interaction-sign n doms 'b 'a) '-)))
|
||||||
|
|
Loading…
Reference in a new issue