Skip to content
Snippets Groups Projects
Commit d02343a8 authored by Lukas Garbas's avatar Lukas Garbas
Browse files

Added max-flow cpp

parent d2d0d507
No related merge requests found
...@@ -12,6 +12,7 @@ executable('gp-bnb', ...@@ -12,6 +12,7 @@ executable('gp-bnb',
'bnb/graph.cpp', 'bnb/graph.cpp',
'bnb/partition.cpp', 'bnb/partition.cpp',
'bnb/metis_reader.cpp', 'bnb/metis_reader.cpp',
'bnb/edmonds_karp.cpp',
'bnb/bnb.cpp', 'bnb/bnb.cpp',
include_directories: inc) include_directories: inc)
......
#include <catch2/catch.hpp>
#include <gp-bnb/edmonds_karp.hpp>
// Tests for Edmonds-Karp Max Flow algorithm
TEST_CASE("EdmondsKarpMaxFlow") {
}
\ No newline at end of file
...@@ -2,10 +2,12 @@ testexe = executable( ...@@ -2,10 +2,12 @@ testexe = executable(
'gp_unittests', # test executable name 'gp_unittests', # test executable name
'graph_test.cpp', 'graph_test.cpp',
'reader_test.cpp', 'reader_test.cpp',
'edmonds_karp_test.cpp',
'bnb_test.cpp', # tests source files to be compiled 'bnb_test.cpp', # tests source files to be compiled
'../bnb/graph.cpp', '../bnb/graph.cpp',
'../bnb/partition.cpp', '../bnb/partition.cpp',
'../bnb/metis_reader.cpp', '../bnb/metis_reader.cpp',
'../bnb/edmonds_karp.cpp',
'../bnb/bnb.cpp', '../bnb/bnb.cpp',
include_directories : inc) # declared include directories in root :code:`meson.build` include_directories : inc) # declared include directories in root :code:`meson.build`
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment