Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / math / test / test_digamma.cpp
index f5b0447..7926e70 100644 (file)
@@ -89,7 +89,7 @@ void test_spots(T, const char* t)
    BOOST_CHECK_CLOSE(::boost::math::digamma(static_cast<T>(-1.5)), static_cast<T>(0.70315664064524318722569033366791109947350706200623L), tolerance);
 }
 
-int test_main(int, char* [])
+BOOST_AUTO_TEST_CASE( test_main )
 {
    BOOST_MATH_CONTROL_FP;
    test_spots(0.0F, "float");
@@ -114,7 +114,6 @@ int test_main(int, char* [])
       "not available at all, or because they are too inaccurate for these tests "
       "to pass.</note>" << std::cout;
 #endif
-   return 0;
 }