()
| 917 | |
| 918 | #[test] |
| 919 | fn test_vertex_encoding_roundtrip() { |
| 920 | let change_id = 12345u64; |
| 921 | let start = 100u64; |
| 922 | let end = 200u64; |
| 923 | |
| 924 | let encoded = encode_vertex(change_id, start, end); |
| 925 | let (dec_change, dec_start, dec_end) = decode_vertex(&encoded); |
| 926 | |
| 927 | assert_eq!(dec_change, change_id); |
| 928 | assert_eq!(dec_start, start); |
| 929 | assert_eq!(dec_end, end); |
| 930 | } |
| 931 | |
| 932 | #[test] |
| 933 | fn test_inode_vertex_encoding_roundtrip() { |
nothing calls this directly
no test coverage detected