()
| 57 | temp._check() |
| 58 | |
| 59 | def test_clear(): |
| 60 | mapping = [(val, pos) for pos, val in enumerate(string.ascii_lowercase)] |
| 61 | temp = SortedDict(mapping) |
| 62 | assert len(temp) == 26 |
| 63 | assert list(temp.items()) == mapping |
| 64 | temp.clear() |
| 65 | assert len(temp) == 0 |
| 66 | |
| 67 | def test_contains(): |
| 68 | mapping = [(val, pos) for pos, val in enumerate(string.ascii_lowercase)] |
nothing calls this directly
no test coverage detected