2017-10-24 07:19:36 -05:00
|
|
|
#include "gtest/gtest.h"
|
|
|
|
|
|
|
|
#include "RiuSummaryVectorDescriptionMap.h"
|
|
|
|
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
///
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
TEST(RiuSummaryVectorDescriptionMap, TestInit)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
std::string s("SRSFC");
|
|
|
|
auto test = RiuSummaryVectorDescriptionMap::instance()->fieldInfo(s);
|
|
|
|
|
|
|
|
EXPECT_TRUE(test == "Reach brine concentration");
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
std::string s("does not exist");
|
|
|
|
auto test = RiuSummaryVectorDescriptionMap::instance()->fieldInfo(s);
|
|
|
|
|
2017-10-25 07:32:19 -05:00
|
|
|
EXPECT_TRUE(test == s);
|
2017-10-24 07:19:36 -05:00
|
|
|
}
|
|
|
|
}
|