Change all graph tests to pub to avoid unused-warnings

This commit is contained in:
2026-09-02 09:30:37 +02:00
parent 0ff830ef48
commit 5825ef3b47
5 changed files with 78 additions and 74 deletions
@@ -23,7 +23,7 @@ macro_rules! graph_topology_addition_deletion_tests {
};
}
pub(crate) fn delete_vertex_add_vertex<G: GraphTopologyDeletion + GraphTopologyAddition>()
pub fn delete_vertex_add_vertex<G: GraphTopologyDeletion + GraphTopologyAddition>()
where
G::Vertex: Debug,
{
@@ -46,7 +46,7 @@ where
);
}
pub(crate) fn delete_edge_add_edge<G: GraphTopologyDeletion + GraphTopologyAddition>()
pub fn delete_edge_add_edge<G: GraphTopologyDeletion + GraphTopologyAddition>()
where
G::Edge: Debug,
{
@@ -60,3 +60,4 @@ where
);
assert_eq!(graph.edge_count(), 1, "unexpected edge count after re-add");
}