MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / create_test_row

Function create_test_row

graphlite/src/exec/row_iterator.rs:186–196  ·  view source on GitHub ↗
(id: usize)

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected