()
| 916 | |
| 917 | #[test] |
| 918 | fn test_position_encoding_roundtrip() { |
| 919 | let change_id = 999u64; |
| 920 | let pos = 12345u64; |
| 921 | |
| 922 | let encoded = encode_position(change_id, pos); |
| 923 | let (dec_change, dec_pos) = decode_position(&encoded); |
| 924 | |
| 925 | assert_eq!(dec_change, change_id); |
| 926 | assert_eq!(dec_pos, pos); |
| 927 | } |
| 928 | |
| 929 | #[test] |
| 930 | fn test_view_seq_encoding_roundtrip() { |
nothing calls this directly
no test coverage detected