()
| 428 | |
| 429 | #[test] |
| 430 | fn test_edges_to() { |
| 431 | let graph = sample_graph(); |
| 432 | |
| 433 | let to_commit = graph.edges_to("n-4"); |
| 434 | assert_eq!(to_commit.len(), 2); |
| 435 | assert!(to_commit |
| 436 | .iter() |
| 437 | .all(|e| e.kind == ProvenanceEdgeKind::ExploredVia)); |
| 438 | } |
| 439 | |
| 440 | // ---- Backward traversal ---- |
| 441 |
nothing calls this directly
no test coverage detected