Add ElementMap::reserve to replace ElementMap::expand, update tests
ElementMap tests are now self contained unit tests, without any graph context. The only exception is the repurposed test "reused_slot_returns_old_value", which is not suited for GraphTopologyDeletion, but actually specific for Graph.
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
mod append_graph_entity_map_tests {
|
||||
use grapherity::models::AppendGraph;
|
||||
|
||||
grapherity::entity_map_tests!(AppendGraph);
|
||||
}
|
||||
|
||||
mod graph_entity_map_tests {
|
||||
use grapherity::models::Graph;
|
||||
|
||||
grapherity::entity_map_tests!(Graph);
|
||||
grapherity::entity_map_deletion_tests!(Graph);
|
||||
}
|
||||
Reference in New Issue
Block a user