()
| 947 | |
| 948 | #[test] |
| 949 | fn test_position_encoding_roundtrip() { |
| 950 | let change_id = 999u64; |
| 951 | let pos = 12345u64; |
| 952 | |
| 953 | let encoded = encode_position(change_id, pos); |
| 954 | let (dec_change, dec_pos) = decode_position(&encoded); |
| 955 | |
| 956 | assert_eq!(dec_change, change_id); |
| 957 | assert_eq!(dec_pos, pos); |
| 958 | } |
| 959 | |
| 960 | #[test] |
| 961 | fn test_view_seq_encoding_roundtrip() { |
nothing calls this directly
no test coverage detected