(id: usize)
| 184 | use std::collections::HashMap; |
| 185 | |
| 186 | fn create_test_row(id: usize) -> Row { |
| 187 | let mut values = HashMap::new(); |
| 188 | values.insert("id".to_string(), Value::Number(id as f64)); |
| 189 | Row { |
| 190 | values, |
| 191 | positional_values: vec![], |
| 192 | source_entities: HashMap::new(), |
| 193 | text_score: None, |
| 194 | highlight_snippet: None, |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | #[test] |
| 199 | fn test_vec_row_iterator() { |