()
| 825 | |
| 826 | #[test] |
| 827 | fn test_branch_id_encoding_root() { |
| 828 | let id = BranchId::ROOT; |
| 829 | let bytes = encode_branch_id(&id); |
| 830 | let decoded = decode_branch_id(&bytes); |
| 831 | assert_eq!(id, decoded); |
| 832 | assert!(decoded.is_root()); |
| 833 | } |
| 834 | |
| 835 | #[test] |
| 836 | fn test_branch_id_encoding_ordering() { |
nothing calls this directly
no test coverage detected