()
| 877 | |
| 878 | #[test] |
| 879 | fn test_vertex_encoding_roundtrip() { |
| 880 | let change_id = 12345u64; |
| 881 | let start = 100u64; |
| 882 | let end = 200u64; |
| 883 | |
| 884 | let encoded = encode_vertex(change_id, start, end); |
| 885 | let (dec_change, dec_start, dec_end) = decode_vertex(&encoded); |
| 886 | |
| 887 | assert_eq!(dec_change, change_id); |
| 888 | assert_eq!(dec_start, start); |
| 889 | assert_eq!(dec_end, end); |
| 890 | } |
| 891 | |
| 892 | #[test] |
| 893 | fn test_inode_vertex_encoding_roundtrip() { |
nothing calls this directly
no test coverage detected