boolTerm = solver.mkBoolean(True)
solver.addSygusConstraint(boolTerm)
res = solver.checkSynth()
- assert not res_null.isNull()
- assert res_null.hasSolution()
- assert not res_null.hasNoSolution()
- assert not res_null.isUnknown()
+ assert not res.isNull()
+ assert res.hasSolution()
+ assert not res.hasNoSolution()
+ assert not res.isUnknown()
def test_has_no_solution(solver):
res_null = SynthResult(solver)
boolTerm = solver.mkBoolean(False)
solver.addSygusConstraint(boolTerm)
res = solver.checkSynth()
- assert not res_null.isNull()
- assert not res_null.hasSolution()
- assert not res_null.hasNoSolution()
- assert res_null.isUnknown()
+ assert not res.isNull()
+ assert not res.hasSolution()
+ assert not res.hasNoSolution()
+ assert res.isUnknown()