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

Method test_tactic_solver

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

Source from the content-addressed store, hash-verified

2757 assert t2 is t
2758
2759 def test_tactic_solver(self, kernel):
2760 t = Tactic("grind")
2761 s = t.solver()
2762 assert isinstance(s, Solver)
2763 x = Int("x")
2764 s.add(x > 0, x < 0)
2765 assert s.check() == unsat
2766
2767
2768# ===================================================================

Callers

nothing calls this directly

Calls 5

solverMethod · 0.95
TacticClass · 0.90
IntFunction · 0.90
addMethod · 0.45
checkMethod · 0.45

Tested by

no test coverage detected