From dc8aa5eb39548391204e0340f9d4df00be43b471 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 29 Dec 2020 00:30:54 +0200 Subject: [PATCH] Update test_bit_floor --- test/bit_floor_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/bit_floor_test.cpp b/test/bit_floor_test.cpp index f94677e..6afa11e 100644 --- a/test/bit_floor_test.cpp +++ b/test/bit_floor_test.cpp @@ -21,8 +21,8 @@ template void test_bit_floor( T x ) else { BOOST_TEST( boost::core::has_single_bit( y ) ); - BOOST_TEST_LE( y, x ); - BOOST_TEST_GT( y, x >> 1 ); + BOOST_TEST_LE( +y, +x ); + BOOST_TEST_GT( +y, x >> 1 ); } }