mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#826 Added opm-flowdiagnostics libary with a basic test
This commit is contained in:
@@ -31,6 +31,7 @@ include_directories(
|
||||
${Boost_INCLUDE_DIRS}
|
||||
${ResInsight_SOURCE_DIR}/ThirdParty/custom-opm-common/opm-common/
|
||||
${custom-opm-parser_SOURCE_DIR}/opm-parser/
|
||||
${custom-opm-flowdiagnostics_SOURCE_DIR}/opm-flowdiagnostics/
|
||||
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Adm
|
||||
@@ -333,7 +334,8 @@ endif()
|
||||
|
||||
set( LINK_LIBRARIES
|
||||
custom-opm-parser
|
||||
|
||||
custom-opm-flowdiagnostics
|
||||
|
||||
WellPathImportSsihub
|
||||
|
||||
ResultStatisticsCache
|
||||
|
||||
@@ -23,6 +23,7 @@ ${CEE_CURRENT_LIST_DIR}ScalarMapper-Test.cpp
|
||||
${CEE_CURRENT_LIST_DIR}WellPathAsciiFileReader-Test.cpp
|
||||
${CEE_CURRENT_LIST_DIR}opm-parser-Test.cpp
|
||||
${CEE_CURRENT_LIST_DIR}opm-parser-Performance-Test.cpp
|
||||
${CEE_CURRENT_LIST_DIR}opm-flowdiagnostics-Test.cpp
|
||||
)
|
||||
|
||||
list(APPEND CODE_HEADER_FILES
|
||||
|
||||
10
ApplicationCode/UnitTests/opm-flowdiagnostics-Test.cpp
Normal file
10
ApplicationCode/UnitTests/opm-flowdiagnostics-Test.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include <opm/flowdiagnostics/CellSet.hpp>
|
||||
#include <opm/utility/graph/AssembledConnections.hpp>
|
||||
|
||||
TEST(opm_flowdiagnostics_test, basic_construction)
|
||||
{
|
||||
auto g = Opm::AssembledConnections{};
|
||||
auto s = Opm::FlowDiagnostics::CellSet{};
|
||||
}
|
||||
Reference in New Issue
Block a user