Update tests to account for a default-constructed container having no buckets

This commit is contained in:
Christian Mazakas
2022-08-30 15:20:31 -07:00
parent f141cd1dea
commit 48765e82e0
6 changed files with 257 additions and 8 deletions
+1 -1
View File
@@ -224,7 +224,7 @@ template <class C1, class C2> void scary_test()
typename C2::const_iterator cbegin(x.cbegin());
BOOST_TEST(cbegin == x.cend());
BOOST_ASSERT(x.bucket_count() > 0);
BOOST_TEST_EQ(x.bucket_count(), 0u);
typename C2::local_iterator lbegin(x.begin(0));
BOOST_TEST(lbegin == x.end(0));