()
| 930 | |
| 931 | #[test] |
| 932 | fn test_vertex_encoding_roundtrip() { |
| 933 | let change_id = 12345u64; |
| 934 | let start = 100u64; |
| 935 | let end = 200u64; |
| 936 | |
| 937 | let encoded = encode_vertex(change_id, start, end); |
| 938 | let (dec_change, dec_start, dec_end) = decode_vertex(&encoded); |
| 939 | |
| 940 | assert_eq!(dec_change, change_id); |
| 941 | assert_eq!(dec_start, start); |
| 942 | assert_eq!(dec_end, end); |
| 943 | } |
| 944 | |
| 945 | #[test] |
| 946 | fn test_inode_vertex_encoding_roundtrip() { |
nothing calls this directly
no test coverage detected