()
| 935 | |
| 936 | #[test] |
| 937 | fn test_position_encoding_roundtrip() { |
| 938 | let change_id = 999u64; |
| 939 | let pos = 12345u64; |
| 940 | |
| 941 | let encoded = encode_position(change_id, pos); |
| 942 | let (dec_change, dec_pos) = decode_position(&encoded); |
| 943 | |
| 944 | assert_eq!(dec_change, change_id); |
| 945 | assert_eq!(dec_pos, pos); |
| 946 | } |
| 947 | |
| 948 | #[test] |
| 949 | fn test_view_seq_encoding_roundtrip() { |
nothing calls this directly
no test coverage detected