mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 02:00:59 -06:00
Use dummy test if anisotropic eikonal solver unavailable.
This commit is contained in:
parent
45a2631b7f
commit
10d4d228d1
@ -34,6 +34,8 @@
|
|||||||
|
|
||||||
using namespace Opm;
|
using namespace Opm;
|
||||||
|
|
||||||
|
#if BOOST_HEAP_AVAILABLE
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(cartesian_2d_a)
|
BOOST_AUTO_TEST_CASE(cartesian_2d_a)
|
||||||
{
|
{
|
||||||
const GridManager gm(2, 2);
|
const GridManager gm(2, 2);
|
||||||
@ -84,3 +86,12 @@ BOOST_AUTO_TEST_CASE(cartesian_2d_b)
|
|||||||
BOOST_CHECK_CLOSE(sol[cell], expected[cell], 1e-5);
|
BOOST_CHECK_CLOSE(sol[cell], expected[cell], 1e-5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else // BOOST_HEAP_AVAILABLE is false
|
||||||
|
|
||||||
|
BOOST_AUTO_TEST_CASE(dummy)
|
||||||
|
{
|
||||||
|
BOOST_CHECK(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif // BOOST_HEAP_AVAILABLE
|
||||||
|
Loading…
Reference in New Issue
Block a user