test/path_test.cc
changeset 2315 bd09e00b64bb
parent 2247 269a0dcee70b
child 2335 27aa03cd3121
equal deleted inserted replaced
4:149868ce1bf3 5:cb5c950d49df
    17  */
    17  */
    18 
    18 
    19 #include <string>
    19 #include <string>
    20 #include <iostream>
    20 #include <iostream>
    21 
    21 
    22 #include <lemon/concept/path.h>
    22 #include <lemon/concepts/path.h>
    23 #include <lemon/concept/graph.h>
    23 #include <lemon/concepts/graph.h>
    24 
    24 
    25 #include <lemon/path.h>
    25 #include <lemon/path.h>
    26 #include <lemon/list_graph.h>
    26 #include <lemon/list_graph.h>
    27 
    27 
    28 #include "test_tools.h"
    28 #include "test_tools.h"
    29 
    29 
    30 using namespace std;
    30 using namespace std;
    31 using namespace lemon;
    31 using namespace lemon;
    32 
    32 
    33 void check_concepts() {
    33 void check_concepts() {
    34   checkConcept<concept::Path<concept::Graph>, 
    34   checkConcept<concepts::Path<concepts::Graph>, 
    35     concept::Path<concept::Graph> >();
    35     concepts::Path<concepts::Graph> >();
    36   checkConcept<concept::Path<concept::Graph>, 
    36   checkConcept<concepts::Path<concepts::Graph>, 
    37     Path<concept::Graph> >();
    37     Path<concepts::Graph> >();
    38   checkConcept<concept::Path<ListGraph>, Path<ListGraph> >();
    38   checkConcept<concepts::Path<ListGraph>, Path<ListGraph> >();
    39 }
    39 }
    40 
    40 
    41 int main() {
    41 int main() {
    42   check_concepts();
    42   check_concepts();
    43   
    43