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

Function test_result_iter

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

Source from the content-addressed store, hash-verified

341
342#[test]
343fn test_result_iter() {
344 let mut result = RecordingResult::new();
345 result.add_file(RecordedFile::new("a.rs"));
346 result.add_file(RecordedFile::new("b.rs"));
347
348 let count = result.iter().count();
349 assert_eq!(count, 2);
350}
351
352#[test]
353fn 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