Add INVALID_WELL context for WCONINJ(E/H)

This commit is contained in:
Lars Petter Øren Hauge
2018-04-26 10:39:54 +02:00
parent 183fd4eabb
commit ba107498a1
3 changed files with 64 additions and 32 deletions

View File

@@ -526,6 +526,28 @@ BOOST_AUTO_TEST_CASE( test_invalid_wtemplate_config ) {
)";
testSamples.push_back(testSample);
// Invalid well name in WCONINJE
testSample = R"(
COMPDAT
'INJ' 10 10 3 3 'OPEN' 1* 1* 0.5 /
/
WCONINJE
'SOMETHINGELSE' 'WATER' 'OPEN' 'RATE' 20000 4* 1000 /
/
)";
testSamples.push_back(testSample);
// Invalid well name in WCONINJH
testSample = R"(
COMPDAT
'INJ' 10 10 3 3 'OPEN' 1* 1* 0.5 /
/
WCONINJH
'SOMETHINGELSE' 'WAT' 'OPEN' 20000 /
/
)";
testSamples.push_back(testSample);
std::string deckinput;
for (std::string sample : testSamples) {