Parse summary keyword ROEW_xxx
This commit is contained in:
parent
c3b6da7bc3
commit
ed5ed62203
@ -6,6 +6,7 @@
|
||||
"comment": "Tracer keywords where the 2nd letter is a 'T' should be compounded with the tracer name",
|
||||
"deck_names": [
|
||||
"RRPV_[0-9A-Z][0-9A-Z][0-9A-Z]",
|
||||
"ROEW_[0-9A-Z][0-9A-Z][0-9A-Z]",
|
||||
"ROSAT",
|
||||
"ROIP",
|
||||
"ROIPL",
|
||||
|
@ -1181,12 +1181,16 @@ ROPT_REG
|
||||
|
||||
RRPV_REG
|
||||
/
|
||||
|
||||
ROEW_REG
|
||||
/
|
||||
)";
|
||||
const auto& summary_config = createSummary(deck_string);
|
||||
BOOST_CHECK_EQUAL(summary_config.size(), 9U);
|
||||
BOOST_CHECK_EQUAL(summary_config.size(), 12U);
|
||||
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("RPR"));
|
||||
BOOST_CHECK(!summary_config.match("BPR*"));
|
||||
BOOST_CHECK(summary_config.match("RPR*"));
|
||||
|
Loading…
Reference in New Issue
Block a user