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

Function create_tree_4_with_data

rust/tests/test_utils.rs:131–135  ·  view source on GitHub ↗

Create tree with capacity 4 and insert 0..count sequential data

(count: usize)

Source from the content-addressed store, hash-verified

129
130/// Create tree with capacity 4 and insert 0..count sequential data
131pub fn create_tree_4_with_data(count: usize) -> BPlusTreeMap<i32, String> {
132 let mut tree = create_tree_4();
133 insert_sequential_range(&mut tree, count);
134 tree
135}
136
137/// Create integer tree with capacity 4 and insert 0..count sequential data
138pub fn create_tree_4_int_with_data(count: usize) -> BPlusTreeMap<i32, i32> {

Calls 2

create_tree_4Function · 0.85
insert_sequential_rangeFunction · 0.85

Tested by

no test coverage detected