COIN-OR::LEMON - Graph Library

Changeset 702:bdc7dfc8c054 in lemon-main for test


Ignore:
Timestamp:
07/09/09 02:39:47 (15 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Bug fix in PairingHeap::pop() (#301)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/heap_test.cc

    r701 r702  
    223223
    224224  // PairingHeap
    225 //  {
    226 //    typedef PairingHeap<Prio, ItemIntMap> IntHeap;
    227 //    checkConcept<Heap<Prio, ItemIntMap>, IntHeap>();
    228 //    heapSortTest<IntHeap>();
    229 //    heapIncreaseTest<IntHeap>();
    230 //
    231 //    typedef PairingHeap<Prio, IntNodeMap > NodeHeap;
    232 //    checkConcept<Heap<Prio, IntNodeMap >, NodeHeap>();
    233 //    dijkstraHeapTest<NodeHeap>(digraph, length, source);
    234 //  }
     225  {
     226    typedef PairingHeap<Prio, ItemIntMap> IntHeap;
     227    checkConcept<Heap<Prio, ItemIntMap>, IntHeap>();
     228    heapSortTest<IntHeap>();
     229    heapIncreaseTest<IntHeap>();
     230
     231    typedef PairingHeap<Prio, IntNodeMap > NodeHeap;
     232    checkConcept<Heap<Prio, IntNodeMap >, NodeHeap>();
     233    dijkstraHeapTest<NodeHeap>(digraph, length, source);
     234  }
    235235
    236236  // RadixHeap
Note: See TracChangeset for help on using the changeset viewer.