()
| 128 | assert list(temp.islice(start, stop)) == list(string.ascii_lowercase[start:stop]) |
| 129 | |
| 130 | def test_irange(): |
| 131 | mapping = [(val, pos) for pos, val in enumerate(string.ascii_lowercase)] |
| 132 | temp = SortedDict(mapping) |
| 133 | temp._reset(7) |
| 134 | for start in range(26): |
| 135 | for stop in range(start + 1, 26): |
| 136 | result = list(string.ascii_lowercase[start:stop]) |
| 137 | assert list(temp.irange(result[0], result[-1])) == result |
| 138 | |
| 139 | def test_irange_key(): |
| 140 | temp = SortedDict(modulo, ((val, val) for val in range(100))) |
nothing calls this directly
no test coverage detected