mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-31 11:57:15 +02:00
Add node-based foa containers to erase_tests
This commit is contained in:
@ -270,10 +270,16 @@ namespace erase_tests {
|
|||||||
test::allocator1<test::object> >* test_set;
|
test::allocator1<test::object> >* test_set;
|
||||||
boost::unordered_flat_map<test::object, test::object, test::hash,
|
boost::unordered_flat_map<test::object, test::object, test::hash,
|
||||||
test::equal_to, test::allocator1<test::object> >* test_map;
|
test::equal_to, test::allocator1<test::object> >* test_map;
|
||||||
|
boost::unordered_node_set<test::object, test::hash, test::equal_to,
|
||||||
|
test::allocator1<test::object> >* test_node_set;
|
||||||
|
boost::unordered_node_map<test::object, test::object, test::hash,
|
||||||
|
test::equal_to, test::allocator1<test::object> >* test_node_map;
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
UNORDERED_TEST(
|
UNORDERED_TEST(
|
||||||
erase_tests1, ((test_set)(test_map))(
|
erase_tests1, ((test_set)(test_map)(test_node_set)(test_node_map))(
|
||||||
(default_generator)(generate_collisions)(limited_range)))
|
(default_generator)(generate_collisions)(limited_range)))
|
||||||
|
// clang-format on
|
||||||
#else
|
#else
|
||||||
boost::unordered_set<test::object, test::hash, test::equal_to,
|
boost::unordered_set<test::object, test::hash, test::equal_to,
|
||||||
test::allocator1<test::object> >* test_set;
|
test::allocator1<test::object> >* test_set;
|
||||||
@ -284,10 +290,11 @@ namespace erase_tests {
|
|||||||
boost::unordered_multimap<test::object, test::object, test::hash,
|
boost::unordered_multimap<test::object, test::object, test::hash,
|
||||||
test::equal_to, test::allocator2<test::object> >* test_multimap;
|
test::equal_to, test::allocator2<test::object> >* test_multimap;
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
UNORDERED_TEST(
|
UNORDERED_TEST(
|
||||||
erase_tests1, ((test_set)(test_multiset)(test_map)(test_multimap))(
|
erase_tests1, ((test_set)(test_multiset)(test_map)(test_multimap))(
|
||||||
(default_generator)(generate_collisions)(limited_range)))
|
(default_generator)(generate_collisions)(limited_range)))
|
||||||
|
// clang-format on
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user