Update of /cvsroot/boost/boost/libs/graph/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28205/libs/graph/test

Modified Files:
        dijkstra_heap_performance.cpp 
Log Message:
Correct testing bugs:

    either changing assert(...) or BOOST_ASSERT(...) to BOOST_TEST 
    (in my code only)

    or adding "return boost::report_errors();" where it was clearly
    missing (and a pure bug, in anyone's code).


Index: dijkstra_heap_performance.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/graph/test/dijkstra_heap_performance.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- dijkstra_heap_performance.cpp       16 Dec 2005 21:48:33 -0000      1.4
+++ dijkstra_heap_performance.cpp       24 Feb 2007 22:40:59 -0000      1.5
@@ -27,6 +27,7 @@
 #include <boost/graph/erdos_renyi_generator.hpp>
 #include <boost/type_traits/is_base_and_derived.hpp>
 #include <boost/type_traits/is_same.hpp>
+#include <boost/detail/lightweight_test.hpp>
 
 using namespace boost;
 
@@ -145,5 +146,5 @@
   run_test(g, "Pairing heap", dijkstra_pairing_heap, binary_heap_distances);
   run_test(g, "Splay heap", dijkstra_splay_heap, binary_heap_distances);
 #endif
-  return 0;
+  return boost::report_errors();
 }


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to