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

Function test_result_with_content

atomic-core/src/record/workflow/retrieve.rs:641–649  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

639
640 #[test]
641 fn test_result_with_content() {
642 let content = b"hello world".to_vec();
643 let result = RetrieveResult::with_content(content, 5);
644
645 assert!(!result.is_empty());
646 assert_eq!(result.len(), 11);
647 assert_eq!(result.vertices_processed, 5);
648 assert!(!result.has_conflicts);
649 }
650
651 #[test]
652 fn test_result_with_conflicts() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected