add some trivial checks to avoid unused variable warnings

This commit is contained in:
Arne Morten Kvarving
2020-06-19 09:43:48 +02:00
parent 841124a47d
commit d7bdb448f5

View File

@@ -151,6 +151,8 @@ WSEGAICD
const auto connection_length = perf_range->second - perf_range->first;
aicd.updateScalingFactor(outlet_segment_length, connection_length);
BOOST_CHECK_EQUAL(7U, new_segment_set.size());
// updated, so it should not throw
BOOST_CHECK_NO_THROW(aicd.scalingFactor());
BOOST_CHECK_EQUAL(0.7, aicd.scalingFactor());
@@ -306,6 +308,8 @@ WSEGSICD
BOOST_CHECK_NO_THROW(sicd.scalingFactor());
BOOST_CHECK_EQUAL(0.7, sicd.scalingFactor());
BOOST_CHECK_EQUAL(7U, new_segment_set.size());
BOOST_CHECK_EQUAL(7U, new_connection_set.size());
const Opm::Connection& connection1 = new_connection_set.get(0);