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

Function test_covers_change

atomic-core/src/change/attestation.rs:1109–1116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1107
1108 #[test]
1109 fn test_covers_change() {
1110 let hash_a = Hash::of(b"change-a");
1111 let hash_z = Hash::of(b"change-z");
1112 let a = make_attestation();
1113
1114 assert!(a.covers_change(&hash_a));
1115 assert!(!a.covers_change(&hash_z));
1116 }
1117
1118 #[test]
1119 fn test_is_chained_false() {

Callers

nothing calls this directly

Calls 1

make_attestationFunction · 0.85

Tested by

no test coverage detected