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

Function test_change_to_apply_new

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

Source from the content-addressed store, hash-verified

316
317 #[test]
318 fn test_change_to_apply_new() {
319 let change_id = NodeId::new(42);
320 let change_hash = test_hash();
321
322 let cta = ChangeToApply::new(change_id, change_hash);
323
324 assert_eq!(cta.change_id, change_id);
325 assert_eq!(cta.change_hash, change_hash);
326 }
327
328 #[test]
329 fn test_change_to_apply_clone() {

Callers

nothing calls this directly

Calls 1

test_hashFunction · 0.70

Tested by

no test coverage detected