()
| 332 | |
| 333 | #[test] |
| 334 | fn no_children_at_all() { |
| 335 | let mut graph = AliveGraph::new(); |
| 336 | graph.push_vertex(AliveVertex::DUMMY); |
| 337 | graph.push_vertex(AliveVertex::new(make_vertex(1, 0, 10))); |
| 338 | |
| 339 | let order = OrderResult { |
| 340 | sccs: vec![vec![VertexId(1)]], |
| 341 | conflict_tree: Default::default(), |
| 342 | cyclic_conflicts: 0, |
| 343 | forward_edges: Vec::new(), |
| 344 | }; |
| 345 | |
| 346 | assert!(detect_fork_conflicts(&graph, &order).is_empty()); |
| 347 | } |
| 348 | |
| 349 | #[test] |
| 350 | fn empty_graph() { |
nothing calls this directly
no test coverage detected