Add trait imports to test functions, making macros self-contained
This commit is contained in:
@@ -1,20 +1,17 @@
|
||||
mod append_graph_vertex_map_tests {
|
||||
use grapherity::models::append_graph::AppendGraph;
|
||||
use grapherity::traits::GraphTopology;
|
||||
|
||||
grapherity::vertex_map_tests!(AppendGraph);
|
||||
}
|
||||
|
||||
mod append_graph_edge_map_tests {
|
||||
use grapherity::models::append_graph::AppendGraph;
|
||||
use grapherity::traits::GraphTopology;
|
||||
|
||||
grapherity::edge_map_tests!(AppendGraph);
|
||||
}
|
||||
|
||||
mod graph_vertex_map_tests {
|
||||
use grapherity::models::graph::Graph;
|
||||
use grapherity::traits::{GraphTopology, GraphTopologyDeletion};
|
||||
|
||||
grapherity::vertex_map_tests!(Graph);
|
||||
grapherity::vertex_map_deletion_tests!(Graph);
|
||||
@@ -22,7 +19,6 @@ mod graph_vertex_map_tests {
|
||||
|
||||
mod graph_edge_map_tests {
|
||||
use grapherity::models::graph::Graph;
|
||||
use grapherity::traits::{GraphTopology, GraphTopologyDeletion};
|
||||
|
||||
grapherity::edge_map_tests!(Graph);
|
||||
grapherity::edge_map_deletion_tests!(Graph);
|
||||
|
||||
Reference in New Issue
Block a user