[Lemon-commits] kpeter: r3447 - lemon/trunk/test
Lemon SVN
svn at lemon.cs.elte.hu
Tue Feb 5 13:45:23 CET 2008
Author: kpeter
Date: Tue Feb 5 13:45:23 2008
New Revision: 3447
Modified:
lemon/trunk/test/heap_test.cc
Log:
Bug fix in heap_test.cc.
Modified: lemon/trunk/test/heap_test.cc
==============================================================================
--- lemon/trunk/test/heap_test.cc (original)
+++ lemon/trunk/test/heap_test.cc Tue Feb 5 13:45:23 2008
@@ -77,21 +77,21 @@
run();
{
- std::cerr << "Checking Bin Heap" << std::endl;
+ std::cout << "Checking Bin Heap" << std::endl;
typedef BinHeap<Prio, ItemIntMap> IntHeap;
checkConcept<Heap<Prio, ItemIntMap>, IntHeap>();
heapSortTest<IntHeap>(100);
heapIncreaseTest<IntHeap>(100);
- typedef FibHeap<Prio, Graph::NodeMap<int> > NodeHeap;
+ typedef BinHeap<Prio, Graph::NodeMap<int> > NodeHeap;
checkConcept<Heap<Prio, Graph::NodeMap<int> >, NodeHeap>();
Timer timer;
dijkstraHeapTest<Graph, LengthMap, NodeHeap>(graph, length, start);
std::cout << timer << std::endl;
}
{
- std::cerr << "Checking Fib Heap" << std::endl;
+ std::cout << "Checking Fib Heap" << std::endl;
typedef FibHeap<Prio, ItemIntMap> IntHeap;
checkConcept<Heap<Prio, ItemIntMap>, IntHeap>();
@@ -105,7 +105,7 @@
std::cout << timer << std::endl;
}
{
- std::cerr << "Checking Radix Heap" << std::endl;
+ std::cout << "Checking Radix Heap" << std::endl;
typedef RadixHeap<ItemIntMap> IntHeap;
checkConcept<Heap<Prio, ItemIntMap>, IntHeap>();
@@ -120,7 +120,7 @@
}
{
- std::cerr << "Checking Bucket Heap" << std::endl;
+ std::cout << "Checking Bucket Heap" << std::endl;
typedef BucketHeap<ItemIntMap> IntHeap;
checkConcept<Heap<Prio, ItemIntMap>, IntHeap>();
More information about the Lemon-commits
mailing list