>>> pytests()
()
| 696 | |
| 697 | |
| 698 | def main() -> None: |
| 699 | """ |
| 700 | >>> pytests() |
| 701 | """ |
| 702 | print_results("Rotating right and left", test_rotations()) |
| 703 | print_results("Inserting", test_insert()) |
| 704 | print_results("Searching", test_insert_and_search()) |
| 705 | print_results("Deleting", test_insert_delete()) |
| 706 | print_results("Floor and ceil", test_floor_ceil()) |
| 707 | print_results("Tree traversal", test_tree_traversal()) |
| 708 | print_results("Tree traversal", test_tree_chaining()) |
| 709 | print("Testing tree balancing...") |
| 710 | print("This should only be a few seconds.") |
| 711 | test_insertion_speed() |
| 712 | print("Done!") |
| 713 | |
| 714 | |
| 715 | if __name__ == "__main__": |
no test coverage detected