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

Function test_contains

tests/test_coverage_sorteddict.py:67–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 assert len(temp) == 0
66
67def test_contains():
68 mapping = [(val, pos) for pos, val in enumerate(string.ascii_lowercase)]
69 temp = SortedDict(mapping)
70 assert all((val in temp) for val in string.ascii_lowercase)
71
72def test_delitem():
73 mapping = [(val, pos) for pos, val in enumerate(string.ascii_lowercase)]

Callers

nothing calls this directly

Calls 1

SortedDictClass · 0.90

Tested by

no test coverage detected