forked from boostorg/unordered
Update tests to accomodate foa containers allocating groups when the pointer type is fancy
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user