()
| 786 | |
| 787 | #[test] |
| 788 | fn test_trunk_id_encoding_roundtrip() { |
| 789 | let id = TrunkId::new(NodeId::new(12345), 99); |
| 790 | let bytes = encode_trunk_id(&id); |
| 791 | let decoded = decode_trunk_id(&bytes); |
| 792 | assert_eq!(id, decoded); |
| 793 | } |
| 794 | |
| 795 | #[test] |
| 796 | fn test_trunk_id_encoding_root() { |
nothing calls this directly
no test coverage detected