From 6f643b7b155ea838d239ec4218c8da0cb636e71f Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Thu, 13 Sep 2012 09:34:59 +0000
Subject: [PATCH] run more checks

[[Imported from SVN: r8864]]
---
 test/nestednesstest.cc | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/test/nestednesstest.cc b/test/nestednesstest.cc
index 2a82f10d..530d9c74 100644
--- a/test/nestednesstest.cc
+++ b/test/nestednesstest.cc
@@ -78,16 +78,15 @@ void testNestedness(const LocalGeodesicFEFunction<domainDim,double,typename PQkL
         
         static double maxDiff = 0;
         maxDiff = std::max(maxDiff, diff.infinity_norm());
-        std::cout << "maxDiff: " << maxDiff << std::endl;
         
         if (maxDiff > 0.2)
             assert(false);
         
-        if ( false and diff.infinity_norm() > eps ) {
+        if ( diff.infinity_norm() > eps ) {
             std::cout << className<TargetSpace>() << ": Values doe not match." << std::endl;
             std::cout << "Low order : " << loValue << std::endl;
             std::cout << "High order: " << hoValue << std::endl;
-            //assert(false);
+            assert(false);
         }
 
     }
@@ -155,7 +154,7 @@ int main()
     test<UnitVector<double,3>,1>(element);
     test<Rotation<double,3>,1>(element);
     test<RigidBodyMotion<double,3>,1>(element);
-    exit(0);
+
     ////////////////////////////////////////////////////////////////
     //  Test functions on 2d simplex elements
     ////////////////////////////////////////////////////////////////
-- 
GitLab