Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
reset
Method · 0.95
AstMap
Class · 0.90
Int
Function · 0.90
Tested by
no test coverage detected