mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-23 23:13:39 -06:00
UserDataParser. Fix unit test
This commit is contained in:
parent
f87234ad39
commit
1acd39898e
@ -966,7 +966,10 @@ ColumnInfo ColumnInfo::createColumnInfoFromRsmData(const std::string& quantity,
|
||||
{
|
||||
ci.dataType = TEXT;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
ci.dataType = NUMERIC;
|
||||
}
|
||||
return ci;
|
||||
}
|
||||
|
||||
|
@ -295,11 +295,9 @@ TEST(RifColumnBasedRsmspecParserTest, TestTwoPages)
|
||||
ASSERT_EQ(size_t(2), tables.size());
|
||||
EXPECT_EQ("1 1 2000", tables[0].startDate());
|
||||
EXPECT_EQ("OP-1_TR", tables[0].origin());
|
||||
// EXPECT_EQ("DD/MM/YY", tables[0].dateFormat());
|
||||
|
||||
EXPECT_EQ("1 1 2000", tables[1].startDate());
|
||||
EXPECT_EQ("OP-2_TR", tables[1].origin());
|
||||
// EXPECT_EQ("DD/MM/YY", tables[1].dateFormat());
|
||||
|
||||
ASSERT_EQ(size_t(8), tables.at(0).columnInfos().size());
|
||||
EXPECT_EQ(1.0E-12, tables.at(0).columnInfos().at(4).values[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user