networks-test: Use make-boolean-domains.

This commit is contained in:
Sergiu Ivanov 2020-02-23 00:55:34 +01:00
parent 251a7dcf23
commit 798178852c

View file

@ -76,6 +76,6 @@
'((a . (#f #t)) (b . (#f #t))))
(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 'b 'a) '-)))