From ccd47b7384485fc41c1ca56fe0606c84eceac9c9 Mon Sep 17 00:00:00 2001
From: Thomas Fetzer <thomas.fetzer@iws.uni-stuttgart.de>
Date: Fri, 25 Sep 2015 09:48:29 +0000
Subject: [PATCH] [2pminc]

removed wrong float comparison for int variable
added input file links

reviewed by timok



git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@15538 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 test/implicit/2pminc/2pminctestproblem.hh | 4 ++--
 test/implicit/2pminc/CMakeLists.txt       | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/test/implicit/2pminc/2pminctestproblem.hh b/test/implicit/2pminc/2pminctestproblem.hh
index f063fe9119..03898214e3 100644
--- a/test/implicit/2pminc/2pminctestproblem.hh
+++ b/test/implicit/2pminc/2pminctestproblem.hh
@@ -231,8 +231,8 @@ public:
                 int,
                 Grid,
                 NumberOfCellsY);
-        assert(Dune::FloatCmp::neq(res_[0],0.0));
-        assert(Dune::FloatCmp::neq(res_[1],0.0));
+        assert(res_[0] > 0);
+        assert(res_[1] > 0);
 
         this->model().calculateMincGeometricParameters(res_, this->bBoxMin(), this->bBoxMax());
         this->getMincProblemParameters(gridView, res_);
diff --git a/test/implicit/2pminc/CMakeLists.txt b/test/implicit/2pminc/CMakeLists.txt
index 8e56859314..e836a8b169 100644
--- a/test/implicit/2pminc/CMakeLists.txt
+++ b/test/implicit/2pminc/CMakeLists.txt
@@ -1,3 +1,5 @@
+add_input_file_links()
+
 add_dumux_test(test_box2pmincvol test_box2pminc test_box2pminc.cc
                python ${CMAKE_SOURCE_DIR}/bin/runtest.py
                --script fuzzy
-- 
GitLab