Skip to content

Commit d504cde

Browse files
committed
Remove remaining traces of bv.py (moved to py-aiger-bv).
1 parent 4c9cc5f commit d504cde

File tree

3 files changed

+3
-134
lines changed

3 files changed

+3
-134
lines changed

aiger/test_aig.py

-12
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
from hypothesis import given
33

44
import aiger
5-
from aiger import bv
6-
from aiger import bv_utils
75
from aiger import common
86
from 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-
3018
def test_sink_aag():
3119
circ = aiger.common.sink(['x', 'y'])
3220
assert len(circ._to_aag().inputs) != 0

aiger/test_bv.py

-121
This file was deleted.

aiger/test_utils.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import aiger
77
from aiger import hypothesis as aigh
88
from 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))
4647
def test_count_le(i):
4748
circ = BV(4, 'x') < BV(4, i)
4849
assert aigu.count(circ.aig) == i + 8
50+
"""

0 commit comments

Comments
 (0)