MCPcopy 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
414def test_remove():
415 temp = SortedSet(range(0, 100))
416 temp._reset(7)
417 temp.remove(50)
418
419def test_or():
420 temp = SortedSet(range(0, 50))

Callers

nothing calls this directly

Calls 3

removeMethod · 0.95
SortedSetClass · 0.90
_resetMethod · 0.45

Tested by

no test coverage detected