Implements support for RUNSUM-related keywords NARROW and SEPARATE

This commit is contained in:
Williham Williham Totland
2020-03-13 09:15:46 +01:00
parent 0910e55be7
commit d5c4487808
3 changed files with 49 additions and 15 deletions

View File

@@ -867,7 +867,20 @@ BOOST_AUTO_TEST_CASE(Summary_Segment)
BOOST_CHECK(!summary.hasSummaryKey("SWFR:INJE01:1"));
}
BOOST_AUTO_TEST_CASE(ProcessingInstructions) {
const std::string deck_string = R"(
RUNSUM
NARROW
SEPARATE
)";
const auto& summary_config = createSummary(deck_string);
BOOST_CHECK(!summary_config.hasKeyword("NARROW"));
BOOST_CHECK(!summary_config.hasKeyword("RUNSUM"));
BOOST_CHECK(!summary_config.hasKeyword("SEPARATE"));
BOOST_CHECK(!summary_config.hasKeyword("SUMMARY"));
}
BOOST_AUTO_TEST_CASE(EnableRSM) {