()
| 907 | |
| 908 | #[test] |
| 909 | fn test_position_encoding_roundtrip() { |
| 910 | let change_id = 999u64; |
| 911 | let pos = 12345u64; |
| 912 | |
| 913 | let encoded = encode_position(change_id, pos); |
| 914 | let (dec_change, dec_pos) = decode_position(&encoded); |
| 915 | |
| 916 | assert_eq!(dec_change, change_id); |
| 917 | assert_eq!(dec_pos, pos); |
| 918 | } |
| 919 | |
| 920 | #[test] |
| 921 | fn test_view_seq_encoding_roundtrip() { |
nothing calls this directly
no test coverage detected