MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_result_iter

Function test_result_iter

atomic-core/src/record/workflow/record/tests.rs:342–349  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

340
341#[test]
342fn test_result_iter() {
343 let mut result = RecordingResult::new();
344 result.add_file(RecordedFile::new("a.rs"));
345 result.add_file(RecordedFile::new("b.rs"));
346
347 let count = result.iter().count();
348 assert_eq!(count, 2);
349}
350
351#[test]
352fn test_result_into_iterator() {

Callers

nothing calls this directly

Calls 3

add_fileMethod · 0.45
countMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected