Commit adaacdf5 authored by jenkins's avatar jenkins

Adding missing test file for OSX

parent bc9184b0
...@@ -250,6 +250,7 @@ template<typename solver_type,typename lid_nn> void lid_driven_cavity_2d() ...@@ -250,6 +250,7 @@ template<typename solver_type,typename lid_nn> void lid_driven_cavity_2d()
// Check that match // Check that match
bool test = compare(file1,file2); bool test = compare(file1,file2);
BOOST_REQUIRE_EQUAL(test,true); BOOST_REQUIRE_EQUAL(test,true);
} }
// Lid driven cavity, incompressible fluid // Lid driven cavity, incompressible fluid
......
...@@ -219,6 +219,7 @@ template<typename solver_type,typename lid_nn_3d> void lid_driven_cavity_3d() ...@@ -219,6 +219,7 @@ template<typename solver_type,typename lid_nn_3d> void lid_driven_cavity_3d()
#endif #endif
// Check that match // Check that match
bool test = compare(file1,file2); bool test = compare(file1,file2);
BOOST_REQUIRE_EQUAL(test,true); BOOST_REQUIRE_EQUAL(test,true);
......
...@@ -27,7 +27,12 @@ BOOST_AUTO_TEST_CASE( pse_ker ) ...@@ -27,7 +27,12 @@ BOOST_AUTO_TEST_CASE( pse_ker )
openfpm::vector<openfpm::vector<double>> y_res; openfpm::vector<openfpm::vector<double>> y_res;
// Load the result of the test // Load the result of the test
#ifdef HAVE_LIBQUAD_MATH
y_res.load("test/PSE_convergence"); y_res.load("test/PSE_convergence");
#else
y_res.load("test/PSE_convergence_osx");
#endif
// Every time increase the number of particles by 2 // Every time increase the number of particles by 2
for (size_t i = 250 ; i <= 2097152000 ; i*=2) for (size_t i = 250 ; i <= 2097152000 ; i*=2)
...@@ -39,6 +44,7 @@ BOOST_AUTO_TEST_CASE( pse_ker ) ...@@ -39,6 +44,7 @@ BOOST_AUTO_TEST_CASE( pse_ker )
/////// Order 2 ////////////// /////// Order 2 //////////////
#ifdef HAVE_LIBQUADMATH #ifdef HAVE_LIBQUADMATH
PSE_test<boost::multiprecision::float128,Lap_PSE<1,boost::multiprecision::float128,2>>(i,2,err); PSE_test<boost::multiprecision::float128,Lap_PSE<1,boost::multiprecision::float128,2>>(i,2,err);
y.last().add(err.linf_error); y.last().add(err.linf_error);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment