src/test/path_test.cc
changeset 972 c0fdb1ad8e8d
parent 921 818510fa3d99
child 986 e997802b855c
equal deleted inserted replaced
5:bd5ecbd35cab 6:7f0a32a04ac3
    14  *
    14  *
    15  */
    15  */
    16 
    16 
    17 #include <string>
    17 #include <string>
    18 #include <iostream>
    18 #include <iostream>
    19 #include <lemon/skeletons/path.h>
    19 #include <lemon/concept/path.h>
    20 #include <lemon/path.h>
    20 #include <lemon/path.h>
    21 #include <lemon/list_graph.h>
    21 #include <lemon/list_graph.h>
    22 
    22 
    23 using namespace std;
    23 using namespace std;
    24 using namespace lemon;
    24 using namespace lemon;
    25 using namespace skeleton;
    25 using namespace lemon::concept;
    26 
    26 
    27 template<class Path> void checkCompilePath(Path &P) 
    27 template<class Path> void checkCompilePath(Path &P) 
    28 {
    28 {
    29   typedef typename Path::EdgeIt EdgeIt;
    29   typedef typename Path::EdgeIt EdgeIt;
    30   typedef typename Path::NodeIt NodeIt;
    30   typedef typename Path::NodeIt NodeIt;
    84   builder.reserveFront(st);	         //void reserveFront(size_t r) {}
    84   builder.reserveFront(st);	         //void reserveFront(size_t r) {}
    85   builder.reserveBack(st);	         //void reserveBack(size_t r) {}
    85   builder.reserveBack(st);	         //void reserveBack(size_t r) {}
    86 
    86 
    87 }
    87 }
    88 
    88 
    89 template void checkCompilePath< skeleton::Path<ListGraph> >(skeleton::Path<ListGraph> &);
    89 template void checkCompilePath< concept::Path<ListGraph> >(concept::Path<ListGraph> &);
    90 template void checkCompilePath< DirPath<ListGraph> >(DirPath<ListGraph> &);
    90 template void checkCompilePath< DirPath<ListGraph> >(DirPath<ListGraph> &);
    91 template void checkCompilePath< UndirPath<ListGraph> >(UndirPath<ListGraph> &);
    91 template void checkCompilePath< UndirPath<ListGraph> >(UndirPath<ListGraph> &);
    92 
    92 
    93 int main() 
    93 int main() 
    94 {
    94 {