()
| 886 | |
| 887 | #[test] |
| 888 | fn test_vertex_encoding_roundtrip() { |
| 889 | let change_id = 12345u64; |
| 890 | let start = 100u64; |
| 891 | let end = 200u64; |
| 892 | |
| 893 | let encoded = encode_vertex(change_id, start, end); |
| 894 | let (dec_change, dec_start, dec_end) = decode_vertex(&encoded); |
| 895 | |
| 896 | assert_eq!(dec_change, change_id); |
| 897 | assert_eq!(dec_start, start); |
| 898 | assert_eq!(dec_end, end); |
| 899 | } |
| 900 | |
| 901 | #[test] |
| 902 | fn test_inode_vertex_encoding_roundtrip() { |
nothing calls this directly
no test coverage detected