test/CMakeLists.txt
author Balazs Dezso <deba@inf.elte.hu>
Mon, 28 Jul 2008 11:22:50 +0200
changeset 235 b46d2787e9c2
parent 203 215bfc30b14f
child 326 64ad48007fb2
child 441 4f7224faf3bd
child 510 d8ca76573eb3
permissions -rw-r--r--
Correcting changeSource interface and documentation

- The changeSource() and changeTarget() is renamed to changeU() and
changeV() in undirected graphs
- The changeSource(a, n) and changeTarget(a, n) is removed from
undirected graphs
- Correcting invalidating iterators in documentation
alpar@225
     1
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
ladanyi@141
     2
alpar@225
     3
LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
ladanyi@141
     4
alpar@225
     5
SET(TESTS
ladanyi@141
     6
  bfs_test
ladanyi@141
     7
  counter_test
ladanyi@141
     8
  dfs_test
ladanyi@141
     9
  digraph_test
kpeter@170
    10
  dijkstra_test
ladanyi@141
    11
  dim_test
ladanyi@141
    12
  error_test
deba@200
    13
  graph_copy_test
ladanyi@141
    14
  graph_test
kpeter@171
    15
  graph_utils_test
deba@203
    16
  heap_test
ladanyi@141
    17
  kruskal_test
ladanyi@141
    18
  maps_test
alpar@225
    19
  random_test
kpeter@171
    20
  path_test
ladanyi@141
    21
  time_measure_test
ladanyi@141
    22
  unionfind_test)
ladanyi@141
    23
alpar@225
    24
FOREACH(TEST_NAME ${TESTS})
alpar@225
    25
  ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)
alpar@225
    26
  TARGET_LINK_LIBRARIES(${TEST_NAME} lemon)
alpar@225
    27
  ADD_TEST(${TEST_NAME} ${TEST_NAME})
alpar@225
    28
ENDFOREACH(TEST_NAME)