Update testdata for a stricter 3D property parser

- Keywords should have correct number of elements
 - Should be in the correct section
This commit is contained in:
Joakim Hove 2019-10-22 08:19:13 +02:00
parent 760140397d
commit f81a84da42
3 changed files with 9 additions and 5 deletions

View File

@ -54,7 +54,7 @@ PORO
REGIONS
FIPNUM
1*2
1*2 999*1
/
SUMMARY

View File

@ -67,10 +67,13 @@ static Deck createDeckTOP() {
"1000*0.25 /\n"
"TOPS\n"
"1000*0.25 /\n"
"BOX\n"
"1 10 1 10 1 1 /\n"
"PORO \n"
"100*0.10 /\n"
"PERMX \n"
"100*0.25 /\n"
"ENDBOX\n"
"EDIT\n"
"OIL\n"
"\n"
@ -645,3 +648,4 @@ BOOST_AUTO_TEST_CASE(TestIOConfigCreationWithSolutionRPTSOL) {
BOOST_CHECK_EQUAL(true, rstConfig.getWriteRestartFile(0));
}
}

View File

@ -243,6 +243,10 @@ BOOST_AUTO_TEST_CASE(EclipseIOIntegration) {
"DIMENS\n"
"3 3 3/\n"
"GRID\n"
"PORO\n"
"27*0.3 /\n"
"PERMX\n"
"27*1 /\n"
"INIT\n"
"DXV\n"
"1.0 2.0 3.0 /\n"
@ -253,10 +257,6 @@ BOOST_AUTO_TEST_CASE(EclipseIOIntegration) {
"TOPS\n"
"9*100 /\n"
"PROPS\n"
"PORO\n"
"27*0.3 /\n"
"PERMX\n"
"27*1 /\n"
"REGIONS\n"
"SATNUM\n"
"27*2 /\n"