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

Function test_clone

atomic-core/src/record/workflow/options.rs:584–593  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

582
583 #[test]
584 fn test_clone() {
585 let opts = WorkflowOptions::new()
586 .with_prefix("test/")
587 .with_algorithm(Algorithm::Patience);
588
589 let cloned = opts.clone();
590
591 assert_eq!(cloned.prefix(), "test/");
592 assert_eq!(cloned.algorithm(), Algorithm::Patience);
593 }
594
595 #[test]
596 fn test_debug() {

Callers

nothing calls this directly

Calls 3

with_algorithmMethod · 0.45
with_prefixMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected