Go to the documentation of this file.
15 #ifndef __MLPACK_TESTS_OLD_BOOST_TEST_DEFINITIONS_HPP
16 #define __MLPACK_TESTS_OLD_BOOST_TEST_DEFINITIONS_HPP
18 #include <boost/version.hpp>
21 #if BOOST_VERSION < 103600
23 #include <boost/test/floating_point_comparison.hpp>
24 #include <boost/test/auto_unit_test.hpp>
28 #define BOOST_REQUIRE_GE( L, R ) \
29 BOOST_REQUIRE_EQUAL( (L >= R), true )
31 #define BOOST_REQUIRE_NE( L, R ) \
32 BOOST_REQUIRE_EQUAL( (L != R), true )
34 #define BOOST_REQUIRE_LE( L, R ) \
35 BOOST_REQUIRE_EQUAL( (L <= R), true )
37 #define BOOST_REQUIRE_LT( L, R ) \
38 BOOST_REQUIRE_EQUAL( (L < R), true )
40 #define BOOST_REQUIRE_GT( L, R ) \
41 BOOST_REQUIRE_EQUAL( (L > R), true )