Insert sequential data start..end with string values
(tree: &mut BPlusTreeMap<i32, String>, start: usize, end: usize)
| 111 | |
| 112 | /// Insert sequential data start..end with string values |
| 113 | pub fn insert_range(tree: &mut BPlusTreeMap<i32, String>, start: usize, end: usize) { |
| 114 | for i in start..end { |
| 115 | tree.insert(i as i32, format!("value_{}", i)); |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | /// Insert sequential data start..end with integer values |
| 120 | pub fn insert_range_int(tree: &mut BPlusTreeMap<i32, i32>, start: usize, end: usize) { |
no test coverage detected