Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
121
def
test_iter():
122
temp = SortedSet(range(100))
123
temp._reset(7)
124
assert all(val == temp[val]
for
val in iter(temp))
125
126
def
test_reversed():
127
temp = SortedSet(range(100))
Callers
nothing calls this directly
Calls
3
SortedSet
Class · 0.90
iter
Function · 0.70
_reset
Method · 0.45
Tested by
no test coverage detected