MCPcopy Create free account
hub / github.com/KentBeck/BPlusTree3 / create_tree_5

Function create_tree_5

rust/tests/test_utils.rs:22–24  ·  view source on GitHub ↗

Standard tree with capacity 5 (for odd capacity testing)

()

Source from the content-addressed store, hash-verified

20
21/// Standard tree with capacity 5 (for odd capacity testing)
22pub fn create_tree_5() -> BPlusTreeMap<i32, String> {
23 BPlusTreeMap::new(5).expect("Failed to create tree with capacity 5")
24}
25
26/// Standard tree with capacity 6 (for specific testing scenarios)
27pub fn create_tree_6() -> BPlusTreeMap<i32, String> {

Calls

no outgoing calls

Tested by

no test coverage detected