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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user