| 95 | } |
| 96 | |
| 97 | std::map<NodeID, size_t> checkNode(const RestrictionGraph &graph, |
| 98 | const RestrictionID node_id, |
| 99 | std::vector<instruction> expected_instructions, |
| 100 | std::vector<NodeID> expected_edges) |
| 101 | { |
| 102 | checkInstructions(graph.GetRestrictions(node_id), std::move(expected_instructions)); |
| 103 | checkEdges(graph.GetEdges(node_id), std::move(expected_edges)); |
| 104 | return nextEdges(graph.GetEdges(node_id)); |
| 105 | } |
| 106 | |
| 107 | std::map<NodeID, size_t> |
| 108 | validateStartRestrictionNode(RestrictionGraph &graph, |
no test coverage detected