()
| 705 | |
| 706 | #[test] |
| 707 | fn test_encode_has_magic_prefix() { |
| 708 | let e = make_minimal_envelope(); |
| 709 | let bytes = e.encode().unwrap(); |
| 710 | assert!(bytes.len() >= MAGIC.len()); |
| 711 | assert_eq!(&bytes[..4], MAGIC); |
| 712 | } |
| 713 | |
| 714 | #[test] |
| 715 | fn test_encode_size_reasonable() { |
nothing calls this directly
no test coverage detected