mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Reduce memory use for summary address object
* Use one common variable for object name, use three ints * Move enums to separate file * Refactor use of enums * Move implementation to cpp * Refactor includes
This commit is contained in:
@@ -168,6 +168,6 @@ TEST( RiaSummaryAddressAnalyzer, QuantitiesPerCategory )
|
||||
auto categories = analyzer.categories();
|
||||
EXPECT_EQ( 2u, categories.size() );
|
||||
|
||||
auto vectorNamesForWells = analyzer.vectorNamesForCategory( RifEclipseSummaryAddress::SUMMARY_WELL );
|
||||
auto vectorNamesForWells = analyzer.vectorNamesForCategory( RifEclipseSummaryAddressDefines::SummaryVarCategory::SUMMARY_WELL );
|
||||
EXPECT_EQ( 3u, vectorNamesForWells.size() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user