Adjust a tolerance in test_glift1.cpp

Makes the test less sensitive to small PVT changes.
This commit is contained in:
Atgeirr Flø Rasmussen committed 2025-08-21 11:59:45 +02:00
1 parent e8d74cfced
commit a5ae242b2b
1 file changed
+1 -1
+1 -1
View File
@@ -203,7 +203,7 @@ BOOST_AUTO_TEST_CASE(G1)
group_info.initialize();
auto state = glift.runOptimize(iteration_idx);
BOOST_CHECK_CLOSE(state->oilRate(), 0.01736111111111111, 1e-8);
BOOST_CHECK_CLOSE(state->gasRate(), 1.6464, 1e-3);
BOOST_CHECK_CLOSE(state->gasRate(), 1.6464, 1e-1);
BOOST_CHECK(state->oilIsLimited());
BOOST_CHECK(!state->gasIsLimited());
BOOST_CHECK(!state->alqIsLimited());