Add trait imports to test functions, making macros self-contained

This commit is contained in:
2026-05-18 15:55:56 +02:00
parent 465a383683
commit ce692cb0b2
5 changed files with 96 additions and 6 deletions
-2
View File
@@ -1,6 +1,5 @@
mod append_graph_tests {
use grapherity::models::append_graph::AppendGraph;
use grapherity::traits::GraphTopology;
grapherity::graph_topology_test_fixtures!(AppendGraph);
grapherity::dijkstra_tests!(AppendGraph);
@@ -8,7 +7,6 @@ mod append_graph_tests {
mod graph_tests {
use grapherity::models::graph::Graph;
use grapherity::traits::GraphTopology;
grapherity::graph_topology_test_fixtures!(Graph);
grapherity::dijkstra_tests!(Graph);