()
| 686 | |
| 687 | #[test] |
| 688 | fn test_encode_has_magic_prefix() { |
| 689 | let e = make_minimal_envelope(); |
| 690 | let bytes = e.encode().unwrap(); |
| 691 | assert!(bytes.len() >= MAGIC.len()); |
| 692 | assert_eq!(&bytes[..4], MAGIC); |
| 693 | } |
| 694 | |
| 695 | #[test] |
| 696 | fn test_encode_size_reasonable() { |
nothing calls this directly
no test coverage detected