Add INVALID_WELLS to WECON & WEFAC

This commit is contained in:
Lars Petter Øren Hauge
2018-05-03 09:34:54 +02:00
parent ba573b5834
commit 427833b089
3 changed files with 44 additions and 8 deletions

View File

@@ -647,6 +647,34 @@ BOOST_AUTO_TEST_CASE( test_invalid_wtemplate_config ) {
)";
testSamples.push_back(testSample);
// Invalid well name in WECON
testSample = R"(
COMPDAT
'PROD' 10 10 3 3 'OPEN' 1* 1* 0.5 /
/
WCONPROD
'PROD' 'OPEN' 'ORAT' 20000 4* 1000 /
/
WECON
'SOMETHINGELSE' 15000 /
/
)";
testSamples.push_back(testSample);
// Invalid well name in WEFAC
testSample = R"(
COMPDAT
'PROD' 10 10 3 3 'OPEN' 1* 1* 0.5 /
/
WCONPROD
'PROD' 'OPEN' 'ORAT' 20000 4* 1000 /
/
WEFAC
'SOMETHINGELSE' 0.5 /
/
)";
testSamples.push_back(testSample);
std::string deckinput;
for (std::string sample : testSamples) {