Load summary keyword RHPV_xxx

This commit is contained in:
Joakim Hove 2020-11-17 15:15:26 +01:00
parent 785a14dd25
commit 61c879e8cb
2 changed files with 6 additions and 1 deletions

View File

@ -7,6 +7,7 @@
"deck_names": [
"RRPV_[0-9A-Z][0-9A-Z][0-9A-Z]",
"ROEW_[0-9A-Z][0-9A-Z][0-9A-Z]",
"RHPV_[0-9A-Z][0-9A-Z][0-9A-Z]",
"ROSAT",
"ROIP",
"ROIPL",

View File

@ -1184,13 +1184,17 @@ RRPV_REG
ROEW_REG
/
RHPV_REG
/
)";
const auto& summary_config = createSummary(deck_string);
BOOST_CHECK_EQUAL(summary_config.size(), 12U);
BOOST_CHECK_EQUAL(summary_config.size(), 15U);
BOOST_CHECK(summary_config.hasKeyword("RPR__REG"));
BOOST_CHECK(summary_config.hasKeyword("ROPT_REG"));
BOOST_CHECK(summary_config.hasKeyword("RRPV_REG"));
BOOST_CHECK(summary_config.hasKeyword("ROEW_REG"));
BOOST_CHECK(summary_config.hasKeyword("RHPV_REG"));
BOOST_CHECK(!summary_config.hasKeyword("RPR"));
BOOST_CHECK(!summary_config.match("BPR*"));
BOOST_CHECK(summary_config.match("RPR*"));