Location: LEMON/LEMON-official/test/CMakeLists.txt

Load file history
gravatar
kpeter (Peter Kovacs)
Improve the function-type interface of bfs, dfs, and dijkstra (ticket #96) - BfsWizard and DfsWizard have run(s), run(s,t), and run() functions, DijkstraWizard has run(s) and run(s,t) functions. - Set NodeMap<T> instead of NullMap as PredMap and DistMap in the default traits classes for the function-type interface. - Modify the related test files. - Doc improvements. - Bug fix in concepts/path.h.
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
SET(TESTS
bfs_test
counter_test
dfs_test
digraph_test
dijkstra_test
dim_test
error_test
graph_copy_test
graph_test
graph_utils_test
heap_test
kruskal_test
maps_test
random_test
path_test
time_measure_test
unionfind_test)
FOREACH(TEST_NAME ${TESTS})
ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)
TARGET_LINK_LIBRARIES(${TEST_NAME} lemon)
ADD_TEST(${TEST_NAME} ${TEST_NAME})
ENDFOREACH(TEST_NAME)