mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge branch 'fishbones' into pre-proto
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
const std::string casePath = "\\\\csfiles\\Store\\ProjectData\\StatoilReservoir\\ReferenceCases\\simple_FlowDiag_Model\\";
|
||||
|
||||
/*
|
||||
#include "exampleSetup.hpp"
|
||||
|
||||
TEST(opm_flowdiagnostics_test, basic_construction)
|
||||
@@ -9,12 +10,14 @@ TEST(opm_flowdiagnostics_test, basic_construction)
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Opm::ECLRestartData rstrt(casePath + "SIMPLE.UNRST");
|
||||
Opm::ECLInitFileData initData(casePath + "SIMPLE.INIT");
|
||||
|
||||
Opm::ECLGraph graph = Opm::ECLGraph::load(casePath + "SIMPLE.EGRID",
|
||||
casePath + "SIMPLE.INIT");
|
||||
graph.assignFluxDataSource(casePath + "SIMPLE.UNRST");
|
||||
initData);
|
||||
|
||||
int step = 2;
|
||||
if ( ! graph.selectReportStep(step) )
|
||||
if ( ! rstrt.selectReportStep(step) )
|
||||
{
|
||||
std::ostringstream os;
|
||||
|
||||
@@ -44,3 +47,4 @@ TEST(opm_flowdiagnostics_test, basic_construction)
|
||||
std::cerr << "Caught exception: " << e.what() << '\n';
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user