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

Method test_solver_append

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

Source from the content-addressed store, hash-verified

2608
2609class TestSolverExtras:
2610 def test_solver_append(self, kernel):
2611 s = Solver()
2612 x = Int("x")
2613 s.append(x > 0)
2614 assert len(s.assertions()) == 1
2615
2616 def test_solver_insert(self, kernel):
2617 s = Solver()

Callers

nothing calls this directly

Calls 3

assertionsMethod · 0.95
SolverClass · 0.90
IntFunction · 0.90

Tested by

no test coverage detected