mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
clang-format: Set column width to 140
* Set column width to 140 * Use c++20 * Remove redundant virtual
This commit is contained in:
@@ -51,9 +51,8 @@ TEST( RifActiveCellsReaderTest, BasicTest10k )
|
||||
QString filename( "TEST10K_FLT_LGR_NNC.EGRID" );
|
||||
QString filePath = baseFolder.absoluteFilePath( filename );
|
||||
|
||||
ecl_file_type* gridFile =
|
||||
ecl_file_open( RiaStringEncodingTools::toNativeEncoded( filePath ).data(), ECL_FILE_CLOSE_STREAM );
|
||||
activeCellsFromActnum = RifActiveCellsReader::activeCellsFromActnumKeyword( gridFile );
|
||||
ecl_file_type* gridFile = ecl_file_open( RiaStringEncodingTools::toNativeEncoded( filePath ).data(), ECL_FILE_CLOSE_STREAM );
|
||||
activeCellsFromActnum = RifActiveCellsReader::activeCellsFromActnumKeyword( gridFile );
|
||||
EXPECT_EQ( (size_t)2, activeCellsFromActnum.size() );
|
||||
ecl_file_close( gridFile );
|
||||
}
|
||||
@@ -62,8 +61,7 @@ TEST( RifActiveCellsReaderTest, BasicTest10k )
|
||||
QString filename( "TEST10K_FLT_LGR_NNC.INIT" );
|
||||
QString filePath = baseFolder.absoluteFilePath( filename );
|
||||
|
||||
ecl_file_type* initFile =
|
||||
ecl_file_open( RiaStringEncodingTools::toNativeEncoded( filePath ).data(), ECL_FILE_CLOSE_STREAM );
|
||||
ecl_file_type* initFile = ecl_file_open( RiaStringEncodingTools::toNativeEncoded( filePath ).data(), ECL_FILE_CLOSE_STREAM );
|
||||
|
||||
int cellCountMainGrid = 0;
|
||||
activeCellsFromPorv = RifActiveCellsReader::activeCellsFromPorvKeyword( initFile, false, cellCountMainGrid );
|
||||
|
||||
Reference in New Issue
Block a user