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

Function test_apply_result_clone

atomic-core/src/apply/change.rs:442–449  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

440
441 #[test]
442 fn test_apply_result_clone() {
443 let result = ApplyResult::new(Merkle::ZERO, 10, false);
444 let cloned = result.clone();
445
446 assert_eq!(result.new_state, cloned.new_state);
447 assert_eq!(result.sequence, cloned.sequence);
448 assert_eq!(result.has_conflicts, cloned.has_conflicts);
449 }
450
451 #[test]
452 fn test_apply_result_debug() {

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected