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

Function test_is_attestation_valid

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

Source from the content-addressed store, hash-verified

974
975 #[test]
976 fn test_is_attestation_valid() {
977 let bytes = make_attestation().serialize().unwrap();
978 assert!(Attestation::is_attestation(&bytes));
979 }
980
981 #[test]
982 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