()
| 317 | assert all((val + 20) == temp[val] for val in range(80)) |
| 318 | |
| 319 | def test_discard(): |
| 320 | temp = SortedSet(range(100)) |
| 321 | temp._reset(7) |
| 322 | temp.discard(0) |
| 323 | temp.discard(99) |
| 324 | temp.discard(50) |
| 325 | temp.discard(1000) |
| 326 | temp._check() |
| 327 | assert len(temp) == 97 |
| 328 | |
| 329 | def test_index(): |
| 330 | temp = SortedSet(range(100)) |