Commit d385b579 authored by Christoph Grüninger's avatar Christoph Grüninger

Merge branch 'feature/reduce-4d-test-coverage' into 'master'

Reduce maximal tested order in test-*-all order to 4 in 4d

Closes #7

See merge request !43
parents 754ca38a 13f75325
......@@ -120,7 +120,7 @@ int main ( int argc, char **argv )
using namespace Dune;
using namespace Impl;
const unsigned int order = (argc < 2) ? 5 : atoi(argv[1]);
unsigned int order = (argc < 2) ? 5 : atoi(argv[1]);
if (argc < 2)
{
......@@ -144,6 +144,10 @@ int main ( int argc, char **argv )
// tests &= test<Pyramid<Prism<Prism<Point> > > >(order);
std::cout << "NOT CHECKING PYRAMID!" << std::endl;
// reduce tested order to 4 in 4d unless explicitly asked for more
if (argc < 2)
order = 4;
tests &= test<Prism<Prism<Prism<Prism<Point> > > > >(order);
tests &= test<Pyramid<Pyramid<Pyramid<Pyramid<Point> > > > >(order);
return (tests ? 0 : 1);
......
......@@ -79,7 +79,7 @@ int main ( int argc, char **argv )
using namespace Dune;
using namespace Impl;
const unsigned int order = (argc < 2) ? 5 : atoi(argv[1]);
unsigned int order = (argc < 2) ? 5 : atoi(argv[1]);
if (argc < 2)
{
......@@ -96,6 +96,10 @@ int main ( int argc, char **argv )
tests &= test<Pyramid<Pyramid<Pyramid<Point> > > >(order);
// reduce tested order to 4 in 4d unless explicitly asked for more
if (argc < 2)
order = 4;
tests &= test<Pyramid<Pyramid<Pyramid<Pyramid<Point> > > > >(order);
return (tests ? 0 : 1);
#endif // TOPOLOGY
......
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