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

Method test_iter

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

Source from the content-addressed store, hash-verified

3727 assert v[0] is y
3728
3729 def test_iter(self):
3730 v = AstVector()
3731 v.push(Int("x"))
3732 v.push(Int("y"))
3733 items = list(v)
3734 assert len(items) == 2
3735
3736 def test_contains(self):
3737 v = AstVector()

Callers

nothing calls this directly

Calls 3

pushMethod · 0.95
AstVectorClass · 0.90
IntFunction · 0.90

Tested by

no test coverage detected