Commit 02c7263e authored by incardon's avatar incardon

Coverage faster

parent 1d9215ba
......@@ -1597,7 +1597,11 @@ BOOST_AUTO_TEST_CASE( grid_dist_id_iterator_test_use)
// Domain
Box<2,float> domain({0.0,0.0},{1.0,1.0});
#ifdef TEST_COVERAGE_MODE
long int k = 256*256*create_vcluster().getProcessingUnits();
#else
long int k = 1024*1024*create_vcluster().getProcessingUnits();
#endif
k = std::pow(k, 1/2.);
Test2D(domain,k);
......
......@@ -22,7 +22,11 @@ BOOST_AUTO_TEST_CASE( vector_dist_full_NN )
std::default_random_engine eg;
std::uniform_real_distribution<float> ud(0.0f, 1.0f);
#ifdef TEST_COVERAGE_MODE
long int k = 50 * v_cl.getProcessingUnits();
#else
long int k = 750 * v_cl.getProcessingUnits();
#endif
long int big_step = k / 4;
big_step = (big_step == 0)?1:big_step;
......
......@@ -22,7 +22,11 @@ BOOST_AUTO_TEST_CASE( vector_dist_periodic_complex_prp_test_use_3d )
std::default_random_engine eg;
std::uniform_real_distribution<float> ud(0.0f, 1.0f);
#ifdef TEST_COVERAGE_MODE
long int k = 24288 * v_cl.getProcessingUnits();
#else
long int k = 124288 * v_cl.getProcessingUnits();
#endif
long int big_step = k / 4;
big_step = (big_step == 0)?1:big_step;
......
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