()
| 1216 | |
| 1217 | #[test] |
| 1218 | fn test_position_encoding_roundtrip() { |
| 1219 | let change_id = 999u64; |
| 1220 | let pos = 12345u64; |
| 1221 | |
| 1222 | let encoded = encode_position(change_id, pos); |
| 1223 | let (dec_change, dec_pos) = decode_position(&encoded); |
| 1224 | |
| 1225 | assert_eq!(dec_change, change_id); |
| 1226 | assert_eq!(dec_pos, pos); |
| 1227 | } |
| 1228 | |
| 1229 | #[test] |
| 1230 | fn test_view_seq_encoding_roundtrip() { |
nothing calls this directly
no test coverage detected