Insert sequential data 0..count with integer values
(tree: &mut BPlusTreeMap<i32, i32>, count: usize)
| 54 | |
| 55 | /// Insert sequential data 0..count with integer values |
| 56 | pub fn insert_sequential_range_int(tree: &mut BPlusTreeMap<i32, i32>, count: usize) { |
| 57 | for i in 0..count { |
| 58 | tree.insert(i as i32, i as i32); |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | /// Insert data with custom key multiplier (common pattern: i * multiplier) |
| 63 | pub fn insert_with_multiplier(tree: &mut BPlusTreeMap<i32, String>, count: usize, multiplier: i32) { |
no test coverage detected