Helper: make a GraphNode > with a specific hash.
(hash: Option<Hash>, start: u64, end: u64)
| 31 | |
| 32 | /// Helper: make a GraphNode<Option<Hash>> with a specific hash. |
| 33 | fn make_graph_node(hash: Option<Hash>, start: u64, end: u64) -> crate::GraphNode<Option<Hash>> { |
| 34 | crate::GraphNode { |
| 35 | change: hash, |
| 36 | start: ChangePosition::new(start), |
| 37 | end: ChangePosition::new(end), |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | /// Helper: create a Compactor with a known set of hashes. |
| 42 | fn make_compactor_and_table() -> HashDedupTable { |
no outgoing calls
no test coverage detected