Location: LEMON/LEMON-main/test/CMakeLists.txt - annotation
Load file history
Bug fix in (di)graphCopy() (#371)
The target graph is cleared before adding nodes and arcs/edges.
r510:d8ca76573eb3 r510:d8ca76573eb3 r510:d8ca76573eb3 r510:d8ca76573eb3 r141:96f81c791f0c r225:c5a40fc54f1a r141:96f81c791f0c r225:c5a40fc54f1a r141:96f81c791f0c r141:96f81c791f0c r141:96f81c791f0c r141:96f81c791f0c r170:91fb4372688f r141:96f81c791f0c r141:96f81c791f0c r200:c0e2c043c060 r141:96f81c791f0c r171:02f4d5d9bfd7 r203:215bfc30b14f r141:96f81c791f0c r141:96f81c791f0c r225:c5a40fc54f1a r171:02f4d5d9bfd7 r141:96f81c791f0c r141:96f81c791f0c r141:96f81c791f0c r225:c5a40fc54f1a r225:c5a40fc54f1a r225:c5a40fc54f1a r225:c5a40fc54f1a r225:c5a40fc54f1a | INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}
${PROJECT_BINARY_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)
|