()
| 856 | |
| 857 | #[test] |
| 858 | fn test_leaf_id_encoding_root() { |
| 859 | let id = LeafId::ROOT; |
| 860 | let bytes = encode_leaf_id(&id); |
| 861 | let decoded = decode_leaf_id(&bytes); |
| 862 | assert_eq!(id, decoded); |
| 863 | assert!(decoded.is_root()); |
| 864 | } |
| 865 | |
| 866 | #[test] |
| 867 | fn test_leaf_id_encoding_ordering() { |
nothing calls this directly
no test coverage detected