COIN-OR::LEMON - Graph Library

Changeset 977:48962802d168 in lemon-0.x for src/test/graph_utils_test.cc


Ignore:
Timestamp:
11/10/04 21:14:32 (15 years ago)
Author:
Mihaly Barasz
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1365
Message:
  • enable_if imported from BOOST
  • count{Nodes,Edges} implemented via graph tags
  • some #include bugs fixed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/test/graph_utils_test.cc

    r946 r977  
    33#include <iostream>
    44#include <vector>
     5
     6#include <lemon/graph_utils.h>
    57
    68#include <lemon/list_graph.h>
     
    2325    checkGraphCounters<SmartGraph>();
    2426  }
     27  {
     28    int num = 5;
     29    FullGraph fg(num);
     30    check(countNodes(fg) == num, "FullGraph: wrong node number.");
     31    check(countEdges(fg) == num*num, "FullGraph: wrong edge number.");   
     32  }
    2533
    2634  std::cout << __FILE__ ": All tests passed.\n";
Note: See TracChangeset for help on using the changeset viewer.