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

Function test_getitem

tests/test_coverage_sortedset.py:36–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 assert all(val not in temp for val in range(100, 200))
35
36def test_getitem():
37 temp = SortedSet(range(100))
38 temp._reset(7)
39 assert all(val == temp[val] for val in temp)
40
41def test_getitem_slice():
42 vals = list(range(100))

Callers

nothing calls this directly

Calls 2

SortedSetClass · 0.90
_resetMethod · 0.45

Tested by

no test coverage detected