Update tests to accomodate foa containers allocating groups when the pointer type is fancy

This commit is contained in:
Christian Mazakas
2023-08-30 09:57:22 -07:00
parent 95a37b0d3d
commit 3299b31787
6 changed files with 121 additions and 52 deletions
+3 -4
View File
@@ -22,12 +22,11 @@ template <class X> void max_load_tests(X*, test::random_generator generator)
test::reset_sequence();
X x;
size_type max_load = x.max_load();
BOOST_TEST_EQ(max_load, 0u);
x.reserve(1000);
max_load = x.max_load();
size_type max_load = x.max_load();
BOOST_TEST_GT(max_load, 0u);
size_type bucket_count = x.bucket_count();
BOOST_TEST_GE(bucket_count, 1000u);