COIN-OR::LEMON - Graph Library

Changeset 578:159f1cbf8a45 in lemon-0.x for src/test


Ignore:
Timestamp:
05/07/04 15:27:16 (20 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@754
Message:

src/work/alpar/list_graph.h moved to /src/hugo.

Location:
src/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/test/dijkstra_test.cc

    r570 r578  
    1 #include <test_tools.h>
     1#include "test_tools.h"
    22#include <hugo/smart_graph.h>
    33#include <hugo/dijkstra.h>
     
    6060  LengthMap cap(G);
    6161  PetStruct<Graph> ps = addPetersen(G,PET_SIZE);
    62  
     62   
    6363  for(int i=0;i<PET_SIZE;i++) {
    6464    cap[ps.outcir[i]]=4;
  • src/test/graph_test.cc

    r567 r578  
    22#include<hugo/smart_graph.h>
    33#include<hugo/skeletons/graph.h>
     4#include<hugo/list_graph.h>
     5
    46#include"test_tools.h"
    5 
    6 //#include<../work/alpar/list_graph.h>
    77
    88/*
     
    243243template void checkCompile<SmartGraph>(SmartGraph &);
    244244template void checkCompile<SymSmartGraph>(SymSmartGraph &);
    245 //template void checkCompile<ListGraph>(ListGraph &);
    246 //template void checkCompile<SymListGraph>(SymListGraph &);
     245template void checkCompile<ListGraph>(ListGraph &);
     246template void checkCompile<SymListGraph>(SymListGraph &);
    247247
    248248//Due to some mysterious and some conceptual problems it does not work.
     
    257257    checkPetersen(G);
    258258  }
    259 //   {
    260 //     ListGraph G;
    261 //     addPetersen(G);
    262 //     bidirPetersen(G);
    263 //     checkPetersen(G);
    264 //   }
     259  {
     260    ListGraph G;
     261    addPetersen(G);
     262    bidirPetersen(G);
     263    checkPetersen(G);
     264  }
    265265  {
    266266    SymSmartGraph G;
     
    268268    checkPetersen(G);
    269269  }
    270 //   {
    271 //     SymListGraph G;
    272 //     addPetersen(G);
    273 //     checkPetersen(G);
    274 //   }
     270  {
     271    SymListGraph G;
     272    addPetersen(G);
     273    checkPetersen(G);
     274  }
    275275
    276276  //\todo map tests.
Note: See TracChangeset for help on using the changeset viewer.