Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vkip committed Dec 16, 2024
1 parent c596299 commit e25c31e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions tests/test_InteHEAD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ BOOST_AUTO_TEST_CASE(Tuning_param)
BOOST_AUTO_TEST_CASE(Various_Parameters)
{
const auto ih = Opm::RestartIO::InteHEAD{}
.variousParam(2015, 100);
.variousParam(2015, 100, 0);

const auto& v = ih.data();

Expand Down Expand Up @@ -634,6 +634,7 @@ BOOST_AUTO_TEST_CASE(TestHeader)
const auto mxwpit = 6;
const auto version = 2015;
const auto iprog = 100;
const auto ntracers = 0;
const auto nsegwl = 3;
const auto nswlmx = 4;
const auto nsegmx = 5;
Expand Down Expand Up @@ -667,7 +668,7 @@ BOOST_AUTO_TEST_CASE(TestHeader)
.aquiferDimensions(aqudims)
.stepParam(tstep, report_step)
.tuningParam({newtmx, newtmn, litmax, litmin, mxwsit, mxwpit, 0})
.variousParam(version, iprog)
.variousParam(version, iprog, ntracers)
.wellSegDimensions({nsegwl, nswlmx, nsegmx, nlbrmx, nisegz, nrsegz, nilbrz})
.regionDimensions({ntfip, nmfipr, 0,0,0})
.ngroups({ngroup});
Expand Down
3 changes: 2 additions & 1 deletion tests/test_LogiHEAD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ BOOST_AUTO_TEST_CASE(Radial_Settings_and_Init)
const auto e300_radial = false;
const auto e100_radial = true;
const auto enableHyster = true;
const auto isTemp = false;

const auto lh = Opm::RestartIO::LogiHEAD{}
.variousParam(e300_radial, e100_radial, 4, enableHyster);
.variousParam(e300_radial, e100_radial, 4, enableHyster, isTemp);

const auto& v = lh.data();

Expand Down

0 comments on commit e25c31e

Please sign in to comment.