Move maps tests to integration tests

This commit is contained in:
2026-05-12 18:32:45 +02:00
parent f1d5ccafd2
commit ff148532ab
3 changed files with 29 additions and 38 deletions
-34
View File
@@ -120,37 +120,3 @@ impl<E: Copy, T: Clone> IndexMut<E> for EntityMap<E, T> {
&mut self.data[i]
}
}
#[cfg(test)]
mod append_graph_vertex_map_tests {
use crate::models::append_graph::AppendGraph;
use crate::traits::GraphTopology;
crate::vertex_map_tests!(AppendGraph);
}
#[cfg(test)]
mod append_graph_edge_map_tests {
use crate::models::append_graph::AppendGraph;
use crate::traits::GraphTopology;
crate::edge_map_tests!(AppendGraph);
}
#[cfg(test)]
mod graph_vertex_map_tests {
use crate::models::graph::Graph;
use crate::traits::{GraphTopology, GraphTopologyDeletion};
crate::vertex_map_tests!(Graph);
crate::vertex_map_deletion_tests!(Graph);
}
#[cfg(test)]
mod graph_edge_map_tests {
use crate::models::graph::Graph;
use crate::traits::{GraphTopology, GraphTopologyDeletion};
crate::edge_map_tests!(Graph);
crate::edge_map_deletion_tests!(Graph);
}
-4
View File
@@ -1,4 +1,3 @@
#[cfg(test)]
#[macro_export]
macro_rules! vertex_map_tests {
($T:ty) => {
@@ -73,7 +72,6 @@ macro_rules! vertex_map_tests {
};
}
#[cfg(test)]
#[macro_export]
macro_rules! vertex_map_deletion_tests {
($T:ty) => {
@@ -120,7 +118,6 @@ macro_rules! vertex_map_deletion_tests {
};
}
#[cfg(test)]
#[macro_export]
macro_rules! edge_map_tests {
($T:ty) => {
@@ -207,7 +204,6 @@ macro_rules! edge_map_tests {
};
}
#[cfg(test)]
#[macro_export]
macro_rules! edge_map_deletion_tests {
($T:ty) => {