Update test_bit_floor

This commit is contained in:
Peter Dimov
2020-12-29 00:30:54 +02:00
parent 26728848b4
commit dc8aa5eb39

View File

@ -21,8 +21,8 @@ template<class T> 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 );
}
}