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

Method test_setitem

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

Source from the content-addressed store, hash-verified

3720 assert v[0] is x
3721
3722 def test_setitem(self):
3723 v = AstVector()
3724 v.push(Int("x"))
3725 y = Int("y")
3726 v[0] = y
3727 assert v[0] is y
3728
3729 def test_iter(self):
3730 v = AstVector()

Callers

nothing calls this directly

Calls 3

pushMethod · 0.95
AstVectorClass · 0.90
IntFunction · 0.90

Tested by

no test coverage detected