Skip to content

Commit c9c780c

Browse files
committed
Added freeTransform check into test_cuttingstock
1 parent 54a72c7 commit c9c780c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_pricer.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,11 @@ def test_cuttingstock():
158158
assert type(s.getNSols()) == int
159159
assert s.getNSols() == s.data["nSols"]
160160

161+
# Testing freeTransform
162+
s.freeTransform()
163+
for i in range(10):
164+
s.addVar()
165+
161166
def test_incomplete_pricer():
162167
class IncompletePricer(Pricer):
163168
pass

0 commit comments

Comments
 (0)