()
| 905 | |
| 906 | #[test] |
| 907 | fn test_vertex_encoding_roundtrip() { |
| 908 | let change_id = 12345u64; |
| 909 | let start = 100u64; |
| 910 | let end = 200u64; |
| 911 | |
| 912 | let encoded = encode_vertex(change_id, start, end); |
| 913 | let (dec_change, dec_start, dec_end) = decode_vertex(&encoded); |
| 914 | |
| 915 | assert_eq!(dec_change, change_id); |
| 916 | assert_eq!(dec_start, start); |
| 917 | assert_eq!(dec_end, end); |
| 918 | } |
| 919 | |
| 920 | #[test] |
| 921 | fn test_inode_vertex_encoding_roundtrip() { |
nothing calls this directly
no test coverage detected