mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2270 Updated opm-flowdiagnostics-applications to 44f7e47ecdc87ba566ab4146629de49039a73b2e to fix crash
This commit is contained in:
@@ -276,6 +276,9 @@ BOOST_AUTO_TEST_CASE (AtNodes)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
const auto s = std::vector<double>{ 0.8, 0.3, 0.3, 0.2 };
|
||||
const auto kr_expect = std::vector<double>{ 0.5, 0.1, 0.1, 0.0 };
|
||||
const auto pc_expect = std::vector<double>{ 0.0, 0.0, 0.0, 0.0 };
|
||||
@@ -326,6 +329,9 @@ BOOST_AUTO_TEST_CASE (AboveAndBelow)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
const auto s = std::vector<double>{ 0.80000001, 0.9, 0.199999999, 0.1 };
|
||||
const auto kr_expect = std::vector<double>{ 0.5, 0.5, 0.0, 0.0 };
|
||||
const auto pc_expect = std::vector<double>{ 0.0, 0.0, 0.0, 0.0 };
|
||||
@@ -364,6 +370,9 @@ BOOST_AUTO_TEST_CASE (Interpolation)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
const auto s = std::vector<double>{
|
||||
0.2000,
|
||||
0.2300,
|
||||
@@ -461,6 +470,9 @@ BOOST_AUTO_TEST_CASE (InterpolationLargeNodeAlloc)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
const auto s = std::vector<double>{
|
||||
0.0000,
|
||||
0.1000,
|
||||
@@ -588,6 +600,9 @@ BOOST_AUTO_TEST_CASE (AtNodes)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
const auto s = std::vector<double>{ 0.8, 0.3, 0.3, 0.2 };
|
||||
const auto kr_expect = std::vector<double>{ 0.5, 0.1, 0.1, 0.0 };
|
||||
const auto pc_expect = std::vector<double>{ 0.0, 0.0, 0.0, 0.0 };
|
||||
@@ -657,6 +672,9 @@ BOOST_AUTO_TEST_CASE (AboveAndBelow)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
const auto s = std::vector<double>{ 0.80000001, 0.9, 0.199999999, 0.1 };
|
||||
const auto kr_expect = std::vector<double>{ 0.5, 0.5, 0.0, 0.0 };
|
||||
const auto pc_expect = std::vector<double>{ 0.0, 0.0, 0.0, 0.0 };
|
||||
@@ -717,6 +735,9 @@ BOOST_AUTO_TEST_CASE (Interpolation)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
const auto s = std::vector<double>{
|
||||
0.2000,
|
||||
0.2300,
|
||||
@@ -871,6 +892,9 @@ BOOST_AUTO_TEST_CASE (InterpolationLargeNodeAlloc)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
const auto s = std::vector<double>{
|
||||
0.0000,
|
||||
0.1000,
|
||||
@@ -986,6 +1010,9 @@ BOOST_AUTO_TEST_CASE (SWFN_CritIsConn)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -1039,6 +1066,9 @@ BOOST_AUTO_TEST_CASE (SWFN_CritIsConn_LargeNodeAlloc)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -1080,6 +1110,9 @@ BOOST_AUTO_TEST_CASE (SWFN)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -1134,6 +1167,9 @@ BOOST_AUTO_TEST_CASE (SWFN_LargeNodeAlloc)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -1175,6 +1211,9 @@ BOOST_AUTO_TEST_CASE (SOF3_CritIsConn)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -1230,6 +1269,9 @@ BOOST_AUTO_TEST_CASE (SOF3_CritIsConn_LargeNodeAlloc)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -1274,6 +1316,9 @@ BOOST_AUTO_TEST_CASE (SOF3_SOGCR_is_Conn)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -1330,6 +1375,9 @@ BOOST_AUTO_TEST_CASE (SOF3_SOGCR_is_Conn_LargeNodeAlloc)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -1374,6 +1422,9 @@ BOOST_AUTO_TEST_CASE (SOF3_SOWCR_is_Conn)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -1430,6 +1481,9 @@ BOOST_AUTO_TEST_CASE (SOF3_SOWCR_is_Conn_LargeNodeAlloc)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -1476,6 +1530,9 @@ BOOST_AUTO_TEST_CASE (SOF3_SCR_Not_Conn)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -1532,6 +1589,9 @@ BOOST_AUTO_TEST_CASE (SOF3_SCR_Not_Conn_LargeNodeAlloc)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -1597,6 +1657,9 @@ BOOST_AUTO_TEST_CASE (SWFN_CritIsConn)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -1701,6 +1764,9 @@ BOOST_AUTO_TEST_CASE (SWFN_CritIsConn_LargeNodeAlloc)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -1760,6 +1826,9 @@ BOOST_AUTO_TEST_CASE (SWFN)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -1868,6 +1937,9 @@ BOOST_AUTO_TEST_CASE (SWFN_LargeNodeAlloc)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -1924,6 +1996,9 @@ BOOST_AUTO_TEST_CASE (SOF3_CritIsConn)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -2030,6 +2105,9 @@ BOOST_AUTO_TEST_CASE (SOF3_CritIsConn_LargeNodeAlloc)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -2092,6 +2170,9 @@ BOOST_AUTO_TEST_CASE (SOF3_SOGCR_is_Conn)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -2202,6 +2283,9 @@ BOOST_AUTO_TEST_CASE (SOF3_SOGCR_is_Conn_LargeNodeAlloc)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -2264,6 +2348,9 @@ BOOST_AUTO_TEST_CASE (SOF3_SOWCR_is_Conn)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -2374,6 +2461,9 @@ BOOST_AUTO_TEST_CASE (SOF3_SOWCR_is_Conn_LargeNodeAlloc)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -2444,6 +2534,9 @@ BOOST_AUTO_TEST_CASE (SOF3_SCR_Not_Conn)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
@@ -2554,6 +2647,9 @@ BOOST_AUTO_TEST_CASE (SOF3_SCR_Not_Conn_LargeNodeAlloc)
|
||||
createDummyUnitConverter(t.numCols - 1)
|
||||
};
|
||||
|
||||
// Check number of tables
|
||||
BOOST_CHECK_EQUAL(swfunc.numTables(), t.numTables);
|
||||
|
||||
using ResultColumn = Opm::SatFuncInterpolant::ResultColumn;
|
||||
|
||||
const auto sconn = swfunc.connateSat();
|
||||
|
||||
Reference in New Issue
Block a user