Test creating a leaf node
(self)
| 187 | """Test LeafNode operations""" |
| 188 | |
| 189 | def test_leaf_node_creation(self): |
| 190 | """Test creating a leaf node""" |
| 191 | leaf = LeafNode(capacity=4) |
| 192 | assert leaf.is_leaf() |
| 193 | assert not leaf.is_full() |
| 194 | assert len(leaf) == 0 |
| 195 | |
| 196 | def test_leaf_node_insert(self): |
| 197 | """Test inserting into a leaf node""" |