Rename ApplicationCode to ApplicationLibCode

This commit is contained in:
Gaute Lindkvist
2021-01-06 14:55:29 +01:00
parent 751df1a421
commit 81699db187
3242 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#include "gtest/gtest.h"
#include "RiaTestDataDirectory.h"
#include "RifPerforationIntervalReader.h"
#include <cmath> // Needed for HUGE_VAL on Linux
#include <numeric>
static const QString PERFORATION_TEST_DATA_DIRECTORY = QString( "%1/RifPerforationIntervalReader/" ).arg( TEST_DATA_DIR );
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
TEST( RifPerforationIntervalReaderTest, SpacesInWellNameHandledSuccessfully )
{
std::map<QString, std::vector<RifPerforationInterval>> perforationIntervals =
RifPerforationIntervalReader::readPerforationIntervals( PERFORATION_TEST_DATA_DIRECTORY +
"perforations_with_space_after_well_name.ev" );
EXPECT_EQ( size_t( 10 ), perforationIntervals["A1_RI_HZX"].size() );
}