mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 09:22:13 -05:00
Cotire : Fix duplicate global variables
This commit is contained in:
1 parent
b06097862f
commit
4026f21a00
4 files changed
+12
-15
No files matched your search
@@ -7,7 +7,7 @@
|
||||
#include <cmath> // Needed for HUGE_VAL on Linux
|
||||
#include <numeric>
|
||||
|
||||
static const QString TEST_DATA_DIRECTORY = QString("%1/RifPerforationIntervalReader/").arg(TEST_DATA_DIR);
|
||||
static const QString PERFORATION_TEST_DATA_DIRECTORY = QString("%1/RifPerforationIntervalReader/").arg(TEST_DATA_DIR);
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
@@ -15,7 +15,7 @@ static const QString TEST_DATA_DIRECTORY = QString("%1/RifPerforationIntervalRea
|
||||
TEST(RifPerforationIntervalReaderTest, SpacesInWellNameHandledSuccessfully)
|
||||
{
|
||||
std::map<QString, std::vector<RifPerforationInterval> >
|
||||
perforationIntervals = RifPerforationIntervalReader::readPerforationIntervals(TEST_DATA_DIRECTORY + "perforations_with_space_after_well_name.ev");
|
||||
perforationIntervals = RifPerforationIntervalReader::readPerforationIntervals(PERFORATION_TEST_DATA_DIRECTORY + "perforations_with_space_after_well_name.ev");
|
||||
|
||||
EXPECT_EQ(10, perforationIntervals["A1_RI_HZX"].size());
|
||||
}
|
||||
Reference in new issue
Block a user