From 7688d7ef42d00d35a26e9b9adca12aee9fc292d2 Mon Sep 17 00:00:00 2001 From: Mavo Date: Tue, 5 Apr 2016 11:39:30 +0200 Subject: [PATCH] Fixed test Former-commit-id: 9e1094a5a0c36377fa34c922fde839324706ee73 --- .../modelchecker/GmmxxMdpPrctlModelCheckerTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/functional/modelchecker/GmmxxMdpPrctlModelCheckerTest.cpp b/test/functional/modelchecker/GmmxxMdpPrctlModelCheckerTest.cpp index 6220276ba..ee2a1b5e5 100644 --- a/test/functional/modelchecker/GmmxxMdpPrctlModelCheckerTest.cpp +++ b/test/functional/modelchecker/GmmxxMdpPrctlModelCheckerTest.cpp @@ -268,8 +268,8 @@ TEST(GmmxxMdpPrctlModelCheckerTest, tiny_rewards) { std::unique_ptr result = checker.check(checkTask); ASSERT_TRUE(result->isExplicitQuantitativeCheckResult()); - EXPECT_NEAR(1,result->asExplicitQuantitativeCheckResult().getValueVector()[0], storm::settings::nativeEquationSolverSettings().getPrecision()); - EXPECT_NEAR(1,result->asExplicitQuantitativeCheckResult().getValueVector()[1], storm::settings::nativeEquationSolverSettings().getPrecision()); - EXPECT_NEAR(0,result->asExplicitQuantitativeCheckResult().getValueVector()[2], storm::settings::nativeEquationSolverSettings().getPrecision()); + EXPECT_NEAR(1,result->asExplicitQuantitativeCheckResult().getValueVector()[0], storm::settings::getModule().getPrecision()); + EXPECT_NEAR(1,result->asExplicitQuantitativeCheckResult().getValueVector()[1], storm::settings::getModule().getPrecision()); + EXPECT_NEAR(0,result->asExplicitQuantitativeCheckResult().getValueVector()[2], storm::settings::getModule().getPrecision()); }