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:329–335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

327
328 #[test]
329 fn test_change_to_apply_clone() {
330 let cta = ChangeToApply::new(NodeId::new(1), test_hash());
331 let cloned = cta.clone();
332
333 assert_eq!(cta.change_id, cloned.change_id);
334 assert_eq!(cta.change_hash, cloned.change_hash);
335 }
336
337 #[test]
338 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