fixed: adjust include path of float_point_comparison for earlier boost
This commit is contained in:
parent
e2c20a6712
commit
f8781f276e
@ -31,7 +31,13 @@
|
|||||||
|
|
||||||
#define BOOST_TEST_MODULE Components
|
#define BOOST_TEST_MODULE Components
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|
||||||
|
#include <boost/version.hpp>
|
||||||
|
#if BOOST_VERSION / 100000 == 1 && BOOST_VERSION / 100 % 1000 < 71
|
||||||
|
#include <boost/test/floating_point_comparison.hpp>
|
||||||
|
#else
|
||||||
#include <boost/test/tools/floating_point_comparison.hpp>
|
#include <boost/test/tools/floating_point_comparison.hpp>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <opm/material/densead/Evaluation.hpp>
|
#include <opm/material/densead/Evaluation.hpp>
|
||||||
#include <opm/material/densead/Math.hpp>
|
#include <opm/material/densead/Math.hpp>
|
||||||
|
@ -23,7 +23,13 @@
|
|||||||
#define BOOST_TEST_MODULE ACTIONX
|
#define BOOST_TEST_MODULE ACTIONX
|
||||||
|
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|
||||||
|
#include <boost/version.hpp>
|
||||||
|
#if BOOST_VERSION / 100000 == 1 && BOOST_VERSION / 100 % 1000 < 71
|
||||||
|
#include <boost/test/floating_point_comparison.hpp>
|
||||||
|
#else
|
||||||
#include <boost/test/tools/floating_point_comparison.hpp>
|
#include <boost/test/tools/floating_point_comparison.hpp>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <opm/common/utility/TimeService.hpp>
|
#include <opm/common/utility/TimeService.hpp>
|
||||||
#include <opm/common/utility/OpmInputError.hpp>
|
#include <opm/common/utility/OpmInputError.hpp>
|
||||||
|
@ -28,7 +28,12 @@
|
|||||||
#define BOOST_TEST_MODULE FieldPropsTests
|
#define BOOST_TEST_MODULE FieldPropsTests
|
||||||
|
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
#include <boost/version.hpp>
|
||||||
|
#if BOOST_VERSION / 100000 == 1 && BOOST_VERSION / 100 % 1000 < 71
|
||||||
|
#include <boost/test/floating_point_comparison.hpp>
|
||||||
|
#else
|
||||||
#include <boost/test/tools/floating_point_comparison.hpp>
|
#include <boost/test/tools/floating_point_comparison.hpp>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <opm/common/utility/OpmInputError.hpp>
|
#include <opm/common/utility/OpmInputError.hpp>
|
||||||
|
|
||||||
|
@ -29,7 +29,13 @@
|
|||||||
#define BOOST_TEST_MODULE ScheduleTests
|
#define BOOST_TEST_MODULE ScheduleTests
|
||||||
|
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|
||||||
|
#include <boost/version.hpp>
|
||||||
|
#if BOOST_VERSION / 100000 == 1 && BOOST_VERSION / 100 % 1000 < 71
|
||||||
|
#include <boost/test/floating_point_comparison.hpp>
|
||||||
|
#else
|
||||||
#include <boost/test/tools/floating_point_comparison.hpp>
|
#include <boost/test/tools/floating_point_comparison.hpp>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <opm/common/utility/ActiveGridCells.hpp>
|
#include <opm/common/utility/ActiveGridCells.hpp>
|
||||||
#include <opm/common/utility/TimeService.hpp>
|
#include <opm/common/utility/TimeService.hpp>
|
||||||
|
@ -24,7 +24,13 @@
|
|||||||
|
|
||||||
#define BOOST_TEST_MODULE NonuniformTableLinearTests
|
#define BOOST_TEST_MODULE NonuniformTableLinearTests
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|
||||||
|
#include <boost/version.hpp>
|
||||||
|
#if BOOST_VERSION / 100000 == 1 && BOOST_VERSION / 100 % 1000 < 71
|
||||||
|
#include <boost/test/floating_point_comparison.hpp>
|
||||||
|
#else
|
||||||
#include <boost/test/tools/floating_point_comparison.hpp>
|
#include <boost/test/tools/floating_point_comparison.hpp>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <opm/common/utility/numeric/NonuniformTableLinear.hpp>
|
#include <opm/common/utility/numeric/NonuniformTableLinear.hpp>
|
||||||
|
|
||||||
|
@ -23,11 +23,15 @@
|
|||||||
|
|
||||||
#define BOOST_TEST_MODULE UniformTableLinearTests
|
#define BOOST_TEST_MODULE UniformTableLinearTests
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
#include <boost/version.hpp>
|
||||||
|
#if BOOST_VERSION / 100000 == 1 && BOOST_VERSION / 100 % 1000 < 71
|
||||||
|
#include <boost/test/floating_point_comparison.hpp>
|
||||||
|
#else
|
||||||
#include <boost/test/tools/floating_point_comparison.hpp>
|
#include <boost/test/tools/floating_point_comparison.hpp>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <opm/common/utility/numeric/UniformTableLinear.hpp>
|
#include <opm/common/utility/numeric/UniformTableLinear.hpp>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(table_operations)
|
BOOST_AUTO_TEST_CASE(table_operations)
|
||||||
{
|
{
|
||||||
// Make a simple table.
|
// Make a simple table.
|
||||||
|
Loading…
Reference in New Issue
Block a user