()
| 406 | |
| 407 | |
| 408 | def pytests(): |
| 409 | for _ in range(100): |
| 410 | # Repeat test 100 times due to the probabilistic nature of skip list |
| 411 | # random values == random bugs |
| 412 | test_insert() |
| 413 | test_insert_overrides_existing_value() |
| 414 | |
| 415 | test_searching_empty_list_returns_none() |
| 416 | test_search() |
| 417 | |
| 418 | test_deleting_item_from_empty_list_do_nothing() |
| 419 | test_deleted_items_are_not_founded_by_find_method() |
| 420 | test_delete_removes_only_given_key() |
| 421 | test_delete_doesnt_leave_dead_nodes() |
| 422 | |
| 423 | test_iter_always_yields_sorted_values() |
| 424 | |
| 425 | |
| 426 | def main(): |
nothing calls this directly
no test coverage detected