MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / test_solve_using

Method test_solve_using

tests/test_z3_ported.py:2723–2727  ·  view source on GitHub ↗
(self, kernel)

Source from the content-addressed store, hash-verified

2721 assert isinstance(s, Solver)
2722
2723 def test_solve_using(self, kernel):
2724 s = Solver()
2725 x = Int("x")
2726 result = solve_using(s, x > 0, x < 0)
2727 assert result == unsat
2728
2729 def test_set_param_noop(self):
2730 set_param(proof=True) # should not raise

Callers

nothing calls this directly

Calls 3

SolverClass · 0.90
IntFunction · 0.90
solve_usingFunction · 0.90

Tested by

no test coverage detected