COIN-OR::LEMON - Graph Library

Changeset 1181:1e5da3fc4fbc in lemon-main for test


Ignore:
Timestamp:
05/15/18 14:16:35 (7 years ago)
Author:
Balazs Dezso <deba@…>
Branch:
default
Phase:
public
Message:

Fix PlanarDrawing::run() function (#610)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/planarity_test.cc

    r798 r1181  
    246246      checkEmbedding(graph, pe);
    247247
    248       PlanarDrawing<Graph> pd(graph);
    249       pd.run(pe.embeddingMap());
    250       checkDrawing(graph, pd);
    251 
    252       PlanarColoring<Graph> pc(graph);
    253       pc.runFiveColoring(pe.embeddingMap());
    254       checkColoring(graph, pc, 5);
     248      {
     249        PlanarDrawing<Graph> pd(graph);
     250        pd.run(pe.embeddingMap());
     251        checkDrawing(graph, pd);
     252      }
     253
     254      {
     255        PlanarDrawing<Graph> pd(graph);
     256        pd.run();
     257        checkDrawing(graph, pd);
     258      }
     259
     260      {
     261        PlanarColoring<Graph> pc(graph);
     262        pc.runFiveColoring(pe.embeddingMap());
     263        checkColoring(graph, pc, 5);
     264      }
     265
     266      {
     267        PlanarColoring<Graph> pc(graph);
     268        pc.runFiveColoring();
     269        checkColoring(graph, pc, 5);
     270      }
    255271
    256272    } else {
Note: See TracChangeset for help on using the changeset viewer.