test/Makefile.am
author Peter Kovacs <kpeter@inf.elte.hu>
Mon, 12 Jan 2009 07:52:48 +0100
changeset 486 a2fd8b8d0b30
parent 463 88ed40ad0d4f
parent 464 4f7224faf3bd
child 481 7afc121e0689
child 488 2b5496c62ccd
permissions -rw-r--r--
Greatly extend and improve the test file for adaptors (#67)

- Add concept checks for the alterable, extendable, erasable
and clearable adaptors.
- Add test cases for modifying the underlying graphs through adaptors
whenever it is possible.
- Check the conversions between Node, Arc and Edge types.
- Add more test cases for the adaptor-specific functions and maps:
enable(), disable(), status(), forward(), backward(), CombinedArcMap,
CombinedNodeMap, ResidualCapacity etc.
- Use checkGraphIncEdgeArcLists() to simplify the test cases for
undirected graphs.
- Add test cases that use static graph structure (GridGraph) with
several adaptors combined.
- Add comments for the test cases.
     1 EXTRA_DIST += \
     2 	test/CMakeLists.txt
     3 
     4 noinst_HEADERS += \
     5 	test/graph_test.h \
     6 	test/test_tools.h
     7 
     8 check_PROGRAMS += \
     9 	test/bfs_test \
    10 	test/circulation_test \
    11 	test/counter_test \
    12 	test/dfs_test \
    13 	test/digraph_test \
    14 	test/dijkstra_test \
    15 	test/dim_test \
    16 	test/error_test \
    17 	test/graph_adaptor_test \
    18 	test/graph_copy_test \
    19 	test/graph_test \
    20 	test/graph_utils_test \
    21 	test/hao_orlin_test \
    22 	test/heap_test \
    23 	test/kruskal_test \
    24 	test/maps_test \
    25 	test/max_matching_test \
    26 	test/path_test \
    27 	test/preflow_test \
    28 	test/radix_sort_test \
    29 	test/random_test \
    30 	test/suurballe_test \
    31 	test/test_tools_fail \
    32 	test/test_tools_pass \
    33 	test/time_measure_test \
    34 	test/unionfind_test
    35 
    36 TESTS += $(check_PROGRAMS)
    37 XFAIL_TESTS += test/test_tools_fail$(EXEEXT)
    38 
    39 test_bfs_test_SOURCES = test/bfs_test.cc
    40 test_circulation_test_SOURCES = test/circulation_test.cc
    41 test_counter_test_SOURCES = test/counter_test.cc
    42 test_dfs_test_SOURCES = test/dfs_test.cc
    43 test_digraph_test_SOURCES = test/digraph_test.cc
    44 test_dijkstra_test_SOURCES = test/dijkstra_test.cc
    45 test_dim_test_SOURCES = test/dim_test.cc
    46 test_error_test_SOURCES = test/error_test.cc
    47 test_graph_adaptor_test_SOURCES = test/graph_adaptor_test.cc
    48 test_graph_copy_test_SOURCES = test/graph_copy_test.cc
    49 test_graph_test_SOURCES = test/graph_test.cc
    50 test_graph_utils_test_SOURCES = test/graph_utils_test.cc
    51 test_heap_test_SOURCES = test/heap_test.cc
    52 test_kruskal_test_SOURCES = test/kruskal_test.cc
    53 test_hao_orlin_test_SOURCES = test/hao_orlin_test.cc
    54 test_maps_test_SOURCES = test/maps_test.cc
    55 test_max_matching_test_SOURCES = test/max_matching_test.cc
    56 test_path_test_SOURCES = test/path_test.cc
    57 test_preflow_test_SOURCES = test/preflow_test.cc
    58 test_radix_sort_test_SOURCES = test/radix_sort_test.cc
    59 test_suurballe_test_SOURCES = test/suurballe_test.cc
    60 test_random_test_SOURCES = test/random_test.cc
    61 test_test_tools_fail_SOURCES = test/test_tools_fail.cc
    62 test_test_tools_pass_SOURCES = test/test_tools_pass.cc
    63 test_time_measure_test_SOURCES = test/time_measure_test.cc
    64 test_unionfind_test_SOURCES = test/unionfind_test.cc