]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/bimap/test/test_bimap_property_map.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / bimap / test / test_bimap_property_map.cpp
index 23e5067c18e3c1329bec1b07859c4bbda9db5c51..01f23a68eaab7e3225b53bd29dcd8342926064ca 100644 (file)
@@ -24,8 +24,7 @@
 #include <cassert>
 #include <algorithm>
 
-// Boost.Test
-#include <boost/test/minimal.hpp>
+#include <boost/core/lightweight_test.hpp>
 
 // Boost.Bimap
 
@@ -48,8 +47,8 @@ void test_readable_property_map(
     // TODO Add STATIC_ASSERT(
     //              boost::property_traits<Map>::category is readable )
 
-    BOOST_CHECK( get(m,key) == value );
-    //BOOST_CHECK( m[key]     == value );
+    BOOST_TEST( get(m,key) == value );
+    //BOOST_TEST( m[key]     == value );
 }
 
 
@@ -68,9 +67,9 @@ void test_bimap_property_map()
     test_readable_property_map(b.right,0.1,  1);
 }
 
-int test_main( int, char* [] )
+int main()
 {
     test_bimap_property_map();
-    return 0;
+    return boost::report_errors();
 }