Go to the documentation of this file. 23 #ifndef __MLPACK_TESTS_OLD_BOOST_TEST_DEFINITIONS_HPP 24 #define __MLPACK_TESTS_OLD_BOOST_TEST_DEFINITIONS_HPP 26 #include <boost/version.hpp> 29 #if BOOST_VERSION < 103600 31 #include <boost/test/floating_point_comparison.hpp> 32 #include <boost/test/auto_unit_test.hpp> 36 #define BOOST_REQUIRE_GE( L, R ) \ 37 BOOST_REQUIRE_EQUAL( (L >= R), true ) 39 #define BOOST_REQUIRE_NE( L, R ) \ 40 BOOST_REQUIRE_EQUAL( (L != R), true ) 42 #define BOOST_REQUIRE_LE( L, R ) \ 43 BOOST_REQUIRE_EQUAL( (L <= R), true ) 45 #define BOOST_REQUIRE_LT( L, R ) \ 46 BOOST_REQUIRE_EQUAL( (L < R), true ) 48 #define BOOST_REQUIRE_GT( L, R ) \ 49 BOOST_REQUIRE_EQUAL( (L > R), true )