adding a small test for aquifer keywords
This commit is contained in:
parent
2c0456da8a
commit
e86e8796ec
@ -21,8 +21,6 @@
|
||||
#define OPM_OUTPUT_SUMMARY_HPP
|
||||
|
||||
#include <opm/parser/eclipse/EclipseState/Schedule/Group/Group.hpp>
|
||||
|
||||
// TODO: following the convention here, it should be removed.
|
||||
#include <opm/output/data/Aquifer.hpp>
|
||||
|
||||
#include <map>
|
||||
|
@ -258,6 +258,22 @@ BOOST_AUTO_TEST_CASE(blocks) {
|
||||
names.begin(), names.end() );
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(aquifer) {
|
||||
const auto input = "AAQR\n"
|
||||
" 1 2 /\n"
|
||||
"AAQT\n"
|
||||
" 1 /\n"
|
||||
"AAQP\n"
|
||||
" 1 2 3/\n";
|
||||
const auto summary = createSummary( input );
|
||||
const auto keywords = { "AAQP", "AAQP", "AAQP", "AAQR", "AAQR", "AAQT" };
|
||||
const auto names = sorted_keywords( summary );
|
||||
|
||||
BOOST_CHECK_EQUAL_COLLECTIONS(
|
||||
keywords.begin(), keywords.end(),
|
||||
names.begin(), names.end() );
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(regions) {
|
||||
const auto input = "ROIP\n"
|
||||
"1 2 3 /\n"
|
||||
|
Loading…
Reference in New Issue
Block a user