Helper: make a Position > with a specific hash.
(hash: Option<Hash>, pos: u64)
| 23 | |
| 24 | /// Helper: make a Position<Option<Hash>> with a specific hash. |
| 25 | fn make_position(hash: Option<Hash>, pos: u64) -> Position<Option<Hash>> { |
| 26 | Position { |
| 27 | change: hash, |
| 28 | pos: ChangePosition::new(pos), |
| 29 | } |
| 30 | } |
| 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>> { |
no outgoing calls
no test coverage detected