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

Function test_is_attestation_valid

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

Source from the content-addressed store, hash-verified

1495
1496 #[test]
1497 fn test_is_attestation_valid() {
1498 let bytes = make_attestation().serialize().unwrap();
1499 assert!(Attestation::is_attestation(&bytes));
1500 }
1501
1502 #[test]
1503 fn test_is_attestation_too_short() {

Callers

nothing calls this directly

Calls 3

make_attestationFunction · 0.85
unwrapMethod · 0.45
serializeMethod · 0.45

Tested by

no test coverage detected