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

Method test_reset

tests/test_z3_compat.py:458–462  ·  view source on GitHub ↗
(self, kernel)

Source from the content-addressed store, hash-verified

456 assert len(s.assertions()) == 1
457
458 def test_reset(self, kernel):
459 s = Solver()
460 s.add(BoolVal(True))
461 s.reset()
462 assert len(s.assertions()) == 0
463
464
465# ------------------------------------------------------------------

Callers

nothing calls this directly

Calls 5

addMethod · 0.95
resetMethod · 0.95
assertionsMethod · 0.95
SolverClass · 0.90
BoolValFunction · 0.90

Tested by

no test coverage detected