()
| 6 | |
| 7 | #[test] |
| 8 | fn test_empty_tree_leaf_count() { |
| 9 | println!("Creating tree..."); |
| 10 | let tree: BPlusTreeMap<i32, String> = BPlusTreeMap::new(4).unwrap(); |
| 11 | |
| 12 | println!("Getting leaf count..."); |
| 13 | let count = tree.leaf_count(); |
| 14 | println!("Leaf count: {}", count); |
| 15 | |
| 16 | assert_eq!(count, 1); // Empty tree should have 1 leaf |
| 17 | } |
| 18 | |
| 19 | #[test] |
| 20 | fn test_tree_creation_only() { |
nothing calls this directly
no test coverage detected