1.1 --- a/src/work/marci/macro_test.cc Sun Apr 17 18:57:22 2005 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,28 +0,0 @@
1.4 -// -*- c++ -*-
1.5 -#include <iostream>
1.6 -#include <fstream>
1.7 -
1.8 -#include <sage_graph.h>
1.9 -#include <for_each_macros.h>
1.10 -
1.11 -using namespace lemon;
1.12 -
1.13 -int main()
1.14 -{
1.15 - typedef SageGraph Graph;
1.16 - Graph g;
1.17 - Graph::Node n1=g.addNode();
1.18 - Graph::Node n2=g.addNode();
1.19 - Graph::NodeIt n;
1.20 - FOR_EACH_GLOB(n, g) {
1.21 - std::cout << g.id(n) << " ";
1.22 - }
1.23 - std::cout << std::endl;
1.24 - FOR_EACH_LOC(Graph::NodeIt, m, g) {
1.25 - std::cout << g.id(m) << " ";
1.26 - }
1.27 - std::cout << std::endl;
1.28 -
1.29 -
1.30 - return 0;
1.31 -}