File tree Expand file tree Collapse file tree 3 files changed +3
-134
lines changed
Expand file tree Collapse file tree 3 files changed +3
-134
lines changed Original file line number Diff line number Diff line change 22from hypothesis import given
33
44import aiger
5- from aiger import bv
6- from aiger import bv_utils
75from aiger import common
86from aiger import hypothesis as aigh
97
@@ -17,16 +15,6 @@ def test_aig_to_aag(circ, data):
1715 assert circ (test_input ) == circ2 (test_input )
1816
1917
20- def test_aig_to_aag2 ():
21- expr = abs (bv .BV (2 , 'x' ))
22- circ = expr .aig
23- circ2 = circ ._to_aag ()._to_aig ()
24- assert circ .inputs == circ2 .inputs
25- assert circ .outputs == circ2 .outputs
26-
27- bv_utils .simplify (expr ) # smoke test
28-
29-
3018def test_sink_aag ():
3119 circ = aiger .common .sink (['x' , 'y' ])
3220 assert len (circ ._to_aag ().inputs ) != 0
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66import aiger
77from aiger import hypothesis as aigh
88from aiger import utils as aigu
9- from aiger .bv import BV
109
1110
1211@given (aigh .Circuits )
@@ -41,8 +40,11 @@ def test_count_and(circ1, circ2):
4140 assert count1 * count2 == count3
4241
4342
43+ """
44+ TODO: move to py-aiger-anaylsis.
4445@settings(max_examples=20, timeout=unlimited)
4546@given(st.integers(-8, 7))
4647def test_count_le(i):
4748 circ = BV(4, 'x') < BV(4, i)
4849 assert aigu.count(circ.aig) == i + 8
50+ """
You can’t perform that action at this time.
0 commit comments