Helper function to check tree invariants
(tree: BPlusTreeMap)
| 8 | |
| 9 | |
| 10 | def check_invariants(tree: BPlusTreeMap) -> bool: |
| 11 | """Helper function to check tree invariants""" |
| 12 | checker = BPlusTreeInvariantChecker(tree.capacity) |
| 13 | return checker.check_invariants(tree.root, tree.leaves) |
| 14 | |
| 15 | |
| 16 | def test_deletion_maintains_invariants(): |
no test coverage detected