()
| 794 | |
| 795 | #[test] |
| 796 | fn test_trunk_id_encoding_root() { |
| 797 | let id = TrunkId::ROOT; |
| 798 | let bytes = encode_trunk_id(&id); |
| 799 | let decoded = decode_trunk_id(&bytes); |
| 800 | assert_eq!(id, decoded); |
| 801 | assert!(decoded.is_root()); |
| 802 | } |
| 803 | |
| 804 | #[test] |
| 805 | fn test_trunk_id_encoding_ordering() { |
nothing calls this directly
no test coverage detected