Add test to check whether RSM output has been requested
This commit is contained in:
@@ -866,3 +866,18 @@ BOOST_AUTO_TEST_CASE(Summary_Segment)
|
||||
|
||||
BOOST_CHECK(!summary.hasSummaryKey("SWFR:INJE01:1"));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
BOOST_AUTO_TEST_CASE(EnableRSM) {
|
||||
std::string deck_string1 = "";
|
||||
std::string deck_string2 = R"(
|
||||
SUMMARY
|
||||
)";
|
||||
const auto& summary_config1 = createSummary("");
|
||||
const auto& summary_config2 = createSummary(deck_string2);
|
||||
|
||||
BOOST_CHECK(!summary_config1.runsum());
|
||||
BOOST_CHECK(summary_config2.runsum());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user