Create tree with custom capacity and insert 0..count sequential data
(capacity: usize, count: usize)
| 143 | |
| 144 | /// Create tree with custom capacity and insert 0..count sequential data |
| 145 | pub fn create_tree_with_data(capacity: usize, count: usize) -> BPlusTreeMap<i32, String> { |
| 146 | let mut tree = create_tree_capacity(capacity); |
| 147 | insert_sequential_range(&mut tree, count); |
| 148 | tree |
| 149 | } |
| 150 | |
| 151 | /// Create integer tree with custom capacity and insert 0..count sequential data |
| 152 | pub fn create_tree_int_with_data(capacity: usize, count: usize) -> BPlusTreeMap<i32, i32> { |
no test coverage detected