mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Renamed globalCell to reservoirCell etc.
This commit is contained in:
committed by
Magne Sjaastad
parent
6cdd9cfdc5
commit
3022a40204
@@ -32,7 +32,7 @@ TEST(RigActiveCellInfo, BasicTest)
|
||||
RigActiveCellInfo rigActiveCellInfo;
|
||||
|
||||
size_t globalActiveCellCount = 10;
|
||||
rigActiveCellInfo.setGlobalCellCount(globalActiveCellCount);
|
||||
rigActiveCellInfo.setReservoirCellCount(globalActiveCellCount);
|
||||
|
||||
for (size_t i = 0; i < globalActiveCellCount; i++)
|
||||
{
|
||||
@@ -57,7 +57,7 @@ TEST(RigActiveCellInfo, GridCellCounts)
|
||||
rigActiveCellInfo.setGridActiveCellCounts(2, 2);
|
||||
rigActiveCellInfo.computeDerivedData();
|
||||
|
||||
EXPECT_TRUE(rigActiveCellInfo.globalActiveCellCount() == 3);
|
||||
EXPECT_TRUE(rigActiveCellInfo.reservoirActiveCellCount() == 3);
|
||||
}
|
||||
|
||||
{
|
||||
@@ -68,6 +68,6 @@ TEST(RigActiveCellInfo, GridCellCounts)
|
||||
rigActiveCellInfo.setGridActiveCellCounts(2, 5 );
|
||||
rigActiveCellInfo.computeDerivedData();
|
||||
|
||||
EXPECT_TRUE(rigActiveCellInfo.globalActiveCellCount() == 12);
|
||||
EXPECT_TRUE(rigActiveCellInfo.reservoirActiveCellCount() == 12);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user