()
| 398 | |
| 399 | #[test] |
| 400 | fn empty_graph() { |
| 401 | let graph = AliveGraph::new(); |
| 402 | let order = OrderResult { |
| 403 | sccs: Vec::new(), |
| 404 | conflict_tree: Default::default(), |
| 405 | cyclic_conflicts: 0, |
| 406 | forward_edges: Vec::new(), |
| 407 | }; |
| 408 | |
| 409 | assert!(detect_fork_conflicts(&graph, &order).unwrap().is_empty()); |
| 410 | } |
| 411 | |
| 412 | #[test] |
| 413 | fn missing_order_vertex_is_inconsistent() { |
nothing calls this directly
no outgoing calls
no test coverage detected