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

Function test_collect_rows

graphlite/src/exec/row_iterator.rs:234–240  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

232
233 #[test]
234 fn test_collect_rows() {
235 let rows = vec![create_test_row(1), create_test_row(2)];
236 let iter = VecRowIterator::new(rows);
237
238 let collected = collect_rows(iter).unwrap();
239 assert_eq!(collected.len(), 2);
240 }
241
242 #[test]
243 fn test_collect_rows_with_error() {

Callers

nothing calls this directly

Calls 2

collect_rowsFunction · 0.85
unwrapMethod · 0.80

Tested by

no test coverage detected