()
| 1186 | |
| 1187 | #[test] |
| 1188 | fn test_vertex_encoding_roundtrip() { |
| 1189 | let change_id = 12345u64; |
| 1190 | let start = 100u64; |
| 1191 | let end = 200u64; |
| 1192 | |
| 1193 | let encoded = encode_vertex(change_id, start, end); |
| 1194 | let (dec_change, dec_start, dec_end) = decode_vertex(&encoded); |
| 1195 | |
| 1196 | assert_eq!(dec_change, change_id); |
| 1197 | assert_eq!(dec_start, start); |
| 1198 | assert_eq!(dec_end, end); |
| 1199 | } |
| 1200 | |
| 1201 | #[test] |
| 1202 | fn test_inode_vertex_encoding_roundtrip() { |
nothing calls this directly
no test coverage detected