2
0
mirror of https://github.com/boostorg/bimap.git synced 2026-01-19 04:02:10 +00:00

Use BOOST_TEST_EQ for bucket check

This commit is contained in:
Peter Dimov
2021-05-29 04:50:21 +03:00
parent 7c9eca213c
commit bfbb95f23c

View File

@@ -414,7 +414,7 @@ void test_pair_unordered_associative_container(Container & c, const Data & d)
{
const Container & const_c = c;
BOOST_TEST( const_c.bucket_size(const_c.bucket(di->first)) == 1 );
BOOST_TEST_EQ( const_c.bucket_size(const_c.bucket(di->first)), 1 );
typename Container::size_type nb =
const_c.bucket(const_c.find(di->first)->first);