Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / math / test / test_dist_overloads.cpp
index e75d7f0..b2b3d59 100644 (file)
@@ -12,7 +12,8 @@
 #include <boost/math/distributions/normal.hpp>
     using boost::math::normal_distribution;
 
-#include <boost/test/test_exec_monitor.hpp> // Boost.Test
+#define BOOST_TEST_MAIN
+#include <boost/test/unit_test.hpp> // Boost.Test
 #include <boost/test/floating_point_comparison.hpp>
 
 #include <iostream>
@@ -65,7 +66,7 @@ void test_spots(RealType)
    }
 } // template <class RealType>void test_spots(RealType)
 
-int test_main(int, char* [])
+BOOST_AUTO_TEST_CASE( test_main )
 {
     // Basic sanity-check spot values.
    // (Parameter value, arbitrarily zero, only communicates the floating point type).
@@ -83,8 +84,7 @@ int test_main(int, char* [])
       "to pass.</note>" << std::cout;
 #endif
 
-   return 0;
-} // int test_main(int, char* [])
+} // BOOST_AUTO_TEST_CASE( test_main )
 
 /*