()
| 119 | assert all(lhs == rhs for lhs, rhs in zip(reversed(temp), reversed(values))) |
| 120 | |
| 121 | def test_islice(): |
| 122 | mapping = [(val, pos) for pos, val in enumerate(string.ascii_lowercase)] |
| 123 | temp = SortedDict(mapping) |
| 124 | temp._reset(7) |
| 125 | |
| 126 | for start in range(30): |
| 127 | for stop in range(30): |
| 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)] |
nothing calls this directly
no test coverage detected