Add trait imports to test functions, making macros self-contained
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user