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

Method test_reset

tests/test_z3_ported.py:3773–3777  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3771 assert x not in m
3772
3773 def test_reset(self):
3774 m = AstMap()
3775 m[Int("x")] = Int("y")
3776 m.reset()
3777 assert len(m) == 0
3778
3779 def test_keys(self):
3780 m = AstMap()

Callers

nothing calls this directly

Calls 3

resetMethod · 0.95
AstMapClass · 0.90
IntFunction · 0.90

Tested by

no test coverage detected