()
| 817 | |
| 818 | #[test] |
| 819 | fn test_branch_id_encoding_roundtrip() { |
| 820 | let id = BranchId::new(NodeId::new(12345), 99); |
| 821 | let bytes = encode_branch_id(&id); |
| 822 | let decoded = decode_branch_id(&bytes); |
| 823 | assert_eq!(id, decoded); |
| 824 | } |
| 825 | |
| 826 | #[test] |
| 827 | fn test_branch_id_encoding_root() { |
nothing calls this directly
no test coverage detected