ResInsight/ApplicationCode/UnitTests/opm-flowdiagnostics-Test.cpp
2016-12-08 17:11:47 +01:00

19 lines
479 B
C++

#include "gtest/gtest.h"
#include <opm/flowdiagnostics/CellSet.hpp>
#include <opm/utility/graph/AssembledConnections.hpp>
#include <opm/utility/ECLGraph.hpp>
TEST(opm_flowdiagnostics_test, basic_construction)
{
auto g = Opm::AssembledConnections{};
auto s = Opm::FlowDiagnostics::CellSet{};
try {
auto eg = Opm::ECLGraph::load("hei", "hopp");
}
catch(const std::exception& e)
{
std::cerr << "Caught exception: " << e.what() << '\n';
}
}