Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ test_getitem
Method
test_getitem
tests/test_z3_ported.py:3716–3720 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
3714
assert len(v) == 2
3715
3716
def
test_getitem(self):
3717
v = AstVector()
3718
x = Int(
"x"
)
3719
v.push(x)
3720
assert v[0] is x
3721
3722
def
test_setitem(self):
3723
v = AstVector()
Callers
nothing calls this directly
Calls
3
push
Method · 0.95
AstVector
Class · 0.90
Int
Function · 0.90
Tested by
no test coverage detected