add some trivial checks to avoid unused variable warnings
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user