MCPcopy Create free account
hub / github.com/grantjenks/python-sortedcontainers / test_iter

Function test_iter

tests/test_coverage_sortedset.py:121–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119 assert beta >= alpha._set
120
121def test_iter():
122 temp = SortedSet(range(100))
123 temp._reset(7)
124 assert all(val == temp[val] for val in iter(temp))
125
126def test_reversed():
127 temp = SortedSet(range(100))

Callers

nothing calls this directly

Calls 3

SortedSetClass · 0.90
iterFunction · 0.70
_resetMethod · 0.45

Tested by

no test coverage detected