mlpack  2.0.1
Macros
old_boost_test_definitions.hpp File Reference
Include dependency graph for old_boost_test_definitions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BOOST_REQUIRE_GE(L, R)   BOOST_REQUIRE_EQUAL( (L >= R), true )
 
#define BOOST_REQUIRE_GT(L, R)   BOOST_REQUIRE_EQUAL( (L > R), true )
 
#define BOOST_REQUIRE_LE(L, R)   BOOST_REQUIRE_EQUAL( (L <= R), true )
 
#define BOOST_REQUIRE_LT(L, R)   BOOST_REQUIRE_EQUAL( (L < R), true )
 
#define BOOST_REQUIRE_NE(L, R)   BOOST_REQUIRE_EQUAL( (L != R), true )
 

Detailed Description

Author
Ryan Curtin

Ancient Boost.Test versions don't act how we expect. This file includes the things we need to fix that.

This file is part of mlpack 2.0.1.

mlpack is free software; you may redstribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.

Definition in file old_boost_test_definitions.hpp.

Macro Definition Documentation

◆ BOOST_REQUIRE_GE

#define BOOST_REQUIRE_GE (   L,
 
)    BOOST_REQUIRE_EQUAL( (L >= R), true )

Definition at line 28 of file old_boost_test_definitions.hpp.

◆ BOOST_REQUIRE_GT

#define BOOST_REQUIRE_GT (   L,
 
)    BOOST_REQUIRE_EQUAL( (L > R), true )

Definition at line 40 of file old_boost_test_definitions.hpp.

◆ BOOST_REQUIRE_LE

#define BOOST_REQUIRE_LE (   L,
 
)    BOOST_REQUIRE_EQUAL( (L <= R), true )

Definition at line 34 of file old_boost_test_definitions.hpp.

◆ BOOST_REQUIRE_LT

#define BOOST_REQUIRE_LT (   L,
 
)    BOOST_REQUIRE_EQUAL( (L < R), true )

Definition at line 37 of file old_boost_test_definitions.hpp.

◆ BOOST_REQUIRE_NE

#define BOOST_REQUIRE_NE (   L,
 
)    BOOST_REQUIRE_EQUAL( (L != R), true )

Definition at line 31 of file old_boost_test_definitions.hpp.