From b15fab221bdd9de1d90dbf3245c0a701ca49498d Mon Sep 17 00:00:00 2001 From: Jostein Alvestad Date: Wed, 5 Dec 2018 16:53:03 +0100 Subject: [PATCH] Corrected tests to be consistent with changes / corrections made to the various parameters --- tests/test_AggregateWellData.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_AggregateWellData.cpp b/tests/test_AggregateWellData.cpp index bdcfabb19..51c1062fd 100644 --- a/tests/test_AggregateWellData.cpp +++ b/tests/test_AggregateWellData.cpp @@ -439,10 +439,10 @@ BOOST_AUTO_TEST_CASE (Declared_Well_Data) BOOST_CHECK_CLOSE(swell[i0 + Ix::LiqRateTarget], 20.0e3f, 1.0e-7f); // No direct limit, extract value from 'smry' (WVPR:OP_1) - BOOST_CHECK_CLOSE(swell[i0 + Ix::ResVRateTarget], 4.0f, 1.0e-7f); + BOOST_CHECK_CLOSE(swell[i0 + Ix::ResVRateTarget], 1.0e20f, 1.0e-7f); // No THP limit - BOOST_CHECK_CLOSE(swell[i0 + Ix::THPTarget] , 1.0e20f, 1.0e-7f); + BOOST_CHECK_CLOSE(swell[i0 + Ix::THPTarget] , 0.0f, 1.0e-7f); BOOST_CHECK_CLOSE(swell[i0 + Ix::BHPTarget] , 1000.0f, 1.0e-7f); BOOST_CHECK_CLOSE(swell[i0 + Ix::DatumDepth], 0.375f, 1.0e-7f); }