mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
#3213 Observed data import. Handle custom vector naming. Fix failing unit tests
This commit is contained in:
1 parent
2e8bf5aafe
commit
37961717e3
5 files changed
+73
-35
No files matched your search
@@ -45,3 +45,24 @@ TEST(RiuSummaryVectorDescriptionMap, TestInit)
|
||||
EXPECT_TRUE(test == s);
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
TEST(RiuSummaryVectorDescriptionMap, TestCustomNaming)
|
||||
{
|
||||
{
|
||||
std::string s("SRSFCABC");
|
||||
auto test = RiuSummaryVectorDescriptionMap::instance()->vectorInfo(s);
|
||||
|
||||
EXPECT_TRUE(test.category == RifEclipseSummaryAddress::SUMMARY_WELL_SEGMENT);
|
||||
EXPECT_TRUE(test.longName == "Reach brine concentration");
|
||||
}
|
||||
|
||||
{
|
||||
std::string s("BHD__ABC");
|
||||
auto test = RiuSummaryVectorDescriptionMap::instance()->vectorLongName(s);
|
||||
|
||||
EXPECT_TRUE(test == "Hydraulic head");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user