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

Function test_covers_change

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

Source from the content-addressed store, hash-verified

1628
1629 #[test]
1630 fn test_covers_change() {
1631 let hash_a = Hash::of(b"change-a");
1632 let hash_z = Hash::of(b"change-z");
1633 let a = make_attestation();
1634
1635 assert!(a.covers_change(&hash_a));
1636 assert!(!a.covers_change(&hash_z));
1637 }
1638
1639 #[test]
1640 fn test_is_chained_false() {

Callers

nothing calls this directly

Calls 1

make_attestationFunction · 0.85

Tested by

no test coverage detected