First public contribution.
1 // Copyright (C) Vladimir Prus 2003.
2 // Distributed under the Boost Software License, Version 1.0. (See
3 // accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
6 * © Portions copyright (c) 2006-2007 Nokia Corporation. All rights reserved.
9 #include <boost/graph/adjacency_list.hpp>
10 #include <boost/graph/copy.hpp>
12 #include "std_log_result.h"
13 #define LOG_FILENAME_LINE __FILE__, __LINE__
17 using namespace boost;
21 template<class V1, class V2>
22 void operator()(const V1&, const V2&) const {}
27 adjacency_list<vecS, vecS, directedS, property<vertex_root_t, int> > g1, g2;
28 adjacency_list<vecS, setS, directedS, property<vertex_index_t, int> > g3;
32 copy_graph(g3, g1, vertex_copy(c));
36 std_log(LOG_FILENAME_LINE,"Result : Failed");
41 std_log(LOG_FILENAME_LINE,"Result : Passed");
43 std_log(LOG_FILENAME_LINE,"[End Test Case ]");
46 testResultXml("copy");