MCPcopy 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

pushMethod · 0.95
AstVectorClass · 0.90
IntFunction · 0.90

Tested by

no test coverage detected