Add loops and multi-edges to the test graph, fix neighbors() test

This commit is contained in:
2026-05-05 19:21:48 +02:00
parent 8324f93ebd
commit feaca335b1
2 changed files with 35 additions and 17 deletions
-1
View File
@@ -267,5 +267,4 @@ mod tests {
graph.delete_edge(f);
assert_eq!(graph.edge_count(), 0, "unexpected edge count after delete");
}
}