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

Method test_solver_insert

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

Source from the content-addressed store, hash-verified

2614 assert len(s.assertions()) == 1
2615
2616 def test_solver_insert(self, kernel):
2617 s = Solver()
2618 x = Int("x")
2619 s.insert(x > 0)
2620 assert len(s.assertions()) == 1
2621
2622 def test_solver_set_noop(self, kernel):
2623 s = Solver()

Callers

nothing calls this directly

Calls 3

assertionsMethod · 0.95
SolverClass · 0.90
IntFunction · 0.90

Tested by

no test coverage detected