test/CMakeLists.txt
author Peter Kovacs <kpeter@inf.elte.hu>
Fri, 12 Dec 2008 22:59:17 +0100
changeset 472 91fcb8ed4cdc
parent 339 91d63b8b1a4c
child 443 346991bf7ddd
child 491 68fe66e2b34a
child 522 7f8560cb9d65
permissions -rw-r--r--
Various bug fixes and code improvements in adaptors.h (#67)

- Fix UndirectorBase::nodeNum().
- Fix UndirectorBase::findEdge().
- Fix OrienterBase::addArc().
- Fix OrienterBase::findArc().
- Improve SplitNodesBase::findArc().
- Add missing notifier() function in UndirectorBase.
- Add missing typedefs for maps (conform to the ReferenceMap concept).
- Add some useful typedefs for graph adaptors.
     1 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
     2 
     3 LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
     4 
     5 SET(TESTS
     6   bfs_test
     7   counter_test
     8   dfs_test
     9   digraph_test
    10   dijkstra_test
    11   dim_test
    12   error_test
    13   graph_copy_test
    14   graph_test
    15   graph_utils_test
    16   hao_orlin_test
    17   heap_test
    18   kruskal_test
    19   maps_test
    20   max_matching_test
    21   random_test
    22   path_test
    23   time_measure_test
    24   unionfind_test)
    25 
    26 FOREACH(TEST_NAME ${TESTS})
    27   ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)
    28   TARGET_LINK_LIBRARIES(${TEST_NAME} lemon)
    29   ADD_TEST(${TEST_NAME} ${TEST_NAME})
    30 ENDFOREACH(TEST_NAME)