()
| 234 | assert len(temp) == 100 |
| 235 | |
| 236 | def test_add(): |
| 237 | temp = SortedSet(range(100)) |
| 238 | temp._reset(7) |
| 239 | temp.add(100) |
| 240 | temp.add(90) |
| 241 | temp._check() |
| 242 | assert all(val == temp[val] for val in range(101)) |
| 243 | |
| 244 | def test_bisect(): |
| 245 | temp = SortedSet(range(100)) |