()
| 256 | assert all(temp.bisect_key_right(val) == (val + 1) for val in range(100)) |
| 257 | |
| 258 | def test_clear(): |
| 259 | temp = SortedSet(range(100)) |
| 260 | temp._reset(7) |
| 261 | temp.clear() |
| 262 | temp._check() |
| 263 | assert len(temp) == 0 |
| 264 | |
| 265 | def test_copy(): |
| 266 | temp = SortedSet(range(100)) |