Set up test fixtures before each test method.
(self)
| 26 | """Test all dictionary-like methods of BPlusTreeMap.""" |
| 27 | |
| 28 | def setup_method(self): |
| 29 | """Set up test fixtures before each test method.""" |
| 30 | self.tree = BPlusTreeMap(capacity=4) |
| 31 | # Add some initial data |
| 32 | for i in range(10): |
| 33 | self.tree[i] = f"value_{i}" |
| 34 | |
| 35 | def test_clear(self): |
| 36 | """Test the clear() method.""" |
no test coverage detected