Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/grantjenks/python-sortedcontainers
/ test_remove
Function
test_remove
tests/test_coverage_sortedset.py:414–417 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
412
assert all(temp[val] == (val + 1)
for
val in range(98))
413
414
def
test_remove():
415
temp = SortedSet(range(0, 100))
416
temp._reset(7)
417
temp.remove(50)
418
419
def
test_or():
420
temp = SortedSet(range(0, 50))
Callers
nothing calls this directly
Calls
3
remove
Method · 0.95
SortedSet
Class · 0.90
_reset
Method · 0.45
Tested by
no test coverage detected