From bfbb95f23c049c4e34696a73b0171aed238fdcc4 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 29 May 2021 04:50:21 +0300 Subject: [PATCH] Use BOOST_TEST_EQ for bucket check --- test/test_bimap.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_bimap.hpp b/test/test_bimap.hpp index aca5116..1f3c978 100644 --- a/test/test_bimap.hpp +++ b/test/test_bimap.hpp @@ -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);