Release 0.3.0 #8

Merged
warrence merged 69 commits from release-0.3.0 into main 2026-10-15 10:06:13 +02:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit eab5a63e6c - Show all commits
+2 -2
View File
@@ -392,7 +392,7 @@ pub fn assert_isomorphic<G: GraphTopology, H: GraphTopology>(
original.edge_count(), original.edge_count(),
"other graph should have the same edge count as the original" "other graph should have the same edge count as the original"
); );
for &v in vertices.iter() { for &v in vertices {
assert_eq!( assert_eq!(
other.degree(vertex_map(v)), other.degree(vertex_map(v)),
original.degree(v), original.degree(v),
@@ -415,7 +415,7 @@ pub fn assert_isomorphic<G: GraphTopology, H: GraphTopology>(
"expected incidences {expected:?} of vertex {v:?} are missing in the other graph" "expected incidences {expected:?} of vertex {v:?} are missing in the other graph"
); );
} }
for &(e, u, v) in edges.iter() { for &(e, u, v) in edges {
assert_eq!( assert_eq!(
other.incident_vertices(edge_map(e)), other.incident_vertices(edge_map(e)),
(vertex_map(u), vertex_map(v)), (vertex_map(u), vertex_map(v)),
+1 -1
View File
@@ -162,7 +162,7 @@ where
G::Vertex: Debug, G::Vertex: Debug,
{ {
let (graph, vertices, _, _) = G::standard(); let (graph, vertices, _, _) = G::standard();
for v in vertices { for &v in &vertices {
assert!( assert!(
algorithms::dfs_find(&graph, vertices[0], v), algorithms::dfs_find(&graph, vertices[0], v),
"vertex {v:?} should be reachable from {:?}", "vertex {v:?} should be reachable from {:?}",