()
| 848 | |
| 849 | #[test] |
| 850 | fn test_leaf_id_encoding_roundtrip() { |
| 851 | let id = LeafId::new(NodeId::new(12345), 99); |
| 852 | let bytes = encode_leaf_id(&id); |
| 853 | let decoded = decode_leaf_id(&bytes); |
| 854 | assert_eq!(id, decoded); |
| 855 | } |
| 856 | |
| 857 | #[test] |
| 858 | fn test_leaf_id_encoding_root() { |
nothing calls this directly
no test coverage detected