test/heap_test.cc
changeset 171 02f4d5d9bfd7
parent 100 4f754b4cf82b
child 203 215bfc30b14f
     1.1 --- a/test/heap_test.cc	Sun Jun 15 22:03:33 2008 +0200
     1.2 +++ b/test/heap_test.cc	Sun Jun 15 22:05:23 2008 +0200
     1.3 @@ -42,7 +42,6 @@
     1.4  using namespace lemon;
     1.5  using namespace lemon::concepts;
     1.6  
     1.7 -
     1.8  int main() {
     1.9  
    1.10    typedef int Item;
    1.11 @@ -77,7 +76,7 @@
    1.12      run();  
    1.13   
    1.14    {
    1.15 -    std::cerr << "Checking Bin Heap" << std::endl;
    1.16 +    std::cout << "Checking Bin Heap" << std::endl;
    1.17  
    1.18      typedef BinHeap<Prio, ItemIntMap> IntHeap;
    1.19      checkConcept<Heap<Prio, ItemIntMap>, IntHeap>();
    1.20 @@ -91,7 +90,7 @@
    1.21      std::cout << timer << std::endl;
    1.22    }
    1.23    {
    1.24 -    std::cerr << "Checking Fib Heap" << std::endl;
    1.25 +    std::cout << "Checking Fib Heap" << std::endl;
    1.26  
    1.27      typedef FibHeap<Prio, ItemIntMap> IntHeap;
    1.28      checkConcept<Heap<Prio, ItemIntMap>, IntHeap>();
    1.29 @@ -105,7 +104,7 @@
    1.30      std::cout << timer << std::endl;
    1.31    }
    1.32    {
    1.33 -    std::cerr << "Checking Radix Heap" << std::endl;
    1.34 +    std::cout << "Checking Radix Heap" << std::endl;
    1.35  
    1.36      typedef RadixHeap<ItemIntMap> IntHeap;
    1.37      checkConcept<Heap<Prio, ItemIntMap>, IntHeap>();
    1.38 @@ -120,7 +119,7 @@
    1.39    }
    1.40  
    1.41    {
    1.42 -    std::cerr << "Checking Bucket Heap" << std::endl;
    1.43 +    std::cout << "Checking Bucket Heap" << std::endl;
    1.44  
    1.45      typedef BucketHeap<ItemIntMap> IntHeap;
    1.46      checkConcept<Heap<Prio, ItemIntMap>, IntHeap>();
    1.47 @@ -134,7 +133,5 @@
    1.48      std::cout << timer << std::endl;
    1.49    }
    1.50  
    1.51 -  std::cout << __FILE__ ": All tests passed.\n";
    1.52 -
    1.53    return 0;
    1.54  }