()
| 242 | assert all(val == temp[val] for val in range(101)) |
| 243 | |
| 244 | def test_bisect(): |
| 245 | temp = SortedSet(range(100)) |
| 246 | temp._reset(7) |
| 247 | assert all(temp.bisect_left(val) == val for val in range(100)) |
| 248 | assert all(temp.bisect(val) == (val + 1) for val in range(100)) |
| 249 | assert all(temp.bisect_right(val) == (val + 1) for val in range(100)) |
| 250 | |
| 251 | def test_bisect_key(): |
| 252 | temp = SortedSet(range(100), key=lambda val: val) |
nothing calls this directly
no test coverage detected