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

Function test_change_to_apply_clone

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

Source from the content-addressed store, hash-verified

403
404 #[test]
405 fn test_change_to_apply_clone() {
406 let cta = ChangeToApply::new(NodeId::new(1), test_hash());
407 let cloned = cta.clone();
408
409 assert_eq!(cta.change_id, cloned.change_id);
410 assert_eq!(cta.change_hash, cloned.change_hash);
411 }
412
413 #[test]
414 fn test_change_to_apply_debug() {

Callers

nothing calls this directly

Calls 2

test_hashFunction · 0.70
cloneMethod · 0.45

Tested by

no test coverage detected