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

Function create_tree_6

rust/tests/test_utils.rs:27–29  ·  view source on GitHub ↗

Standard tree with capacity 6 (for specific testing scenarios)

()

Source from the content-addressed store, hash-verified

25
26/// Standard tree with capacity 6 (for specific testing scenarios)
27pub fn create_tree_6() -> BPlusTreeMap<i32, String> {
28 BPlusTreeMap::new(6).expect("Failed to create tree with capacity 6")
29}
30
31/// Generic tree creation with custom capacity
32pub fn create_tree_capacity(capacity: usize) -> BPlusTreeMap<i32, String> {

Calls

no outgoing calls

Tested by

no test coverage detected