()
| 965 | |
| 966 | #[test] |
| 967 | fn test_serialize_has_magic() { |
| 968 | let a = make_attestation(); |
| 969 | let bytes = a.serialize().unwrap(); |
| 970 | |
| 971 | assert!(bytes.len() > 4); |
| 972 | assert_eq!(&bytes[..4], b"ATST"); |
| 973 | } |
| 974 | |
| 975 | #[test] |
| 976 | fn test_is_attestation_valid() { |
nothing calls this directly
no test coverage detected