()
| 1486 | |
| 1487 | #[test] |
| 1488 | fn test_serialize_has_magic() { |
| 1489 | let a = make_attestation(); |
| 1490 | let bytes = a.serialize().unwrap(); |
| 1491 | |
| 1492 | assert!(bytes.len() > 4); |
| 1493 | assert_eq!(&bytes[..4], b"ATST"); |
| 1494 | } |
| 1495 | |
| 1496 | #[test] |
| 1497 | fn test_is_attestation_valid() { |
nothing calls this directly
no test coverage detected