]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/multiprecision/test/math/test_beta.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / multiprecision / test / math / test_beta.cpp
index c201e64fe6c2061958c13b32609350396b662bb9..efa8aa1f8a4d17aed9be4a12c47cf163c31269c9 100644 (file)
@@ -2,7 +2,7 @@
 //  Copyright Christopher Kormanyos 2002 - 2011.
 //  Copyright 2011 John Maddock. Distributed under the Boost
 //  Software License, Version 1.0. (See accompanying file
-//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_
+//  LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
 //
 // This work is based on an earlier work:
 // "Algorithm 910: A Portable C++ Multiple-Precision System for Special-Function Calculations",
@@ -21,53 +21,53 @@ void expected_results()
    // various compilers and platforms.
    //
    add_expected_result(
-      ".*",                          // compiler
-      ".*",                          // stdlib
-      ".*",                          // platform
-      ".*gmp.*",                     // test type(s)
-      "Beta Function: Medium.*",     // test data group
-      "beta", 2300, 1000); // test function
+       ".*",                      // compiler
+       ".*",                      // stdlib
+       ".*",                      // platform
+       ".*gmp.*",                 // test type(s)
+       "Beta Function: Medium.*", // test data group
+       "beta", 2300, 1000);       // test function
    add_expected_result(
-      ".*",                          // compiler
-      ".*",                          // stdlib
-      ".*",                          // platform
-      ".*gmp.*",                     // test type(s)
-      "Beta Function: Divergent.*",  // test data group
-      "beta", 2200, 1000);   // test function
+       ".*",                         // compiler
+       ".*",                         // stdlib
+       ".*",                         // platform
+       ".*gmp.*",                    // test type(s)
+       "Beta Function: Divergent.*", // test data group
+       "beta", 2200, 1000);          // test function
    add_expected_result(
-      ".*",                          // compiler
-      ".*",                          // stdlib
-      ".*",                          // platform
-      ".*mpfr_float_backend\\<18\\>.*",  // test type(s)
-      "Beta Function: Small.*",      // test data group
-      "beta", 1000, 750); // test function
+       ".*",                             // compiler
+       ".*",                             // stdlib
+       ".*",                             // platform
+       ".*mpfr_float_backend\\<18\\>.*", // test type(s)
+       "Beta Function: Small.*",         // test data group
+       "beta", 1000, 750);               // test function
    add_expected_result(
-      ".*",                          // compiler
-      ".*",                          // stdlib
-      ".*",                          // platform
-      ".*",                          // test type(s)
-      "Beta Function: Small.*",      // test data group
-      "beta", 8, 5);    // test function
+       ".*",                     // compiler
+       ".*",                     // stdlib
+       ".*",                     // platform
+       ".*",                     // test type(s)
+       "Beta Function: Small.*", // test data group
+       "beta", 8, 5);            // test function
    add_expected_result(
-      ".*",                          // compiler
-      ".*",                          // stdlib
-      ".*",                          // platform
-      ".*",                          // test type(s)
-      "Beta Function: Medium.*",     // test data group
-      "beta", 1000, 750); // test function
+       ".*",                      // compiler
+       ".*",                      // stdlib
+       ".*",                      // platform
+       ".*",                      // test type(s)
+       "Beta Function: Medium.*", // test data group
+       "beta", 1000, 750);        // test function
    add_expected_result(
-      ".*",                          // compiler
-      ".*",                          // stdlib
-      ".*",                          // platform
-      ".*",                          // test type(s)
-      "Beta Function: Divergent.*",  // test data group
-      "beta", 1000, 700);   // test function
+       ".*",                         // compiler
+       ".*",                         // stdlib
+       ".*",                         // platform
+       ".*",                         // test type(s)
+       "Beta Function: Divergent.*", // test data group
+       "beta", 1000, 700);           // test function
    //
    // Finish off by printing out the compiler/stdlib/platform names,
    // we do this to make it easier to mark up expected error rates.
    //
    std::cout << "Tests run with " << BOOST_COMPILER << ", "
-      << BOOST_STDLIB << ", " << BOOST_PLATFORM << std::endl;
+             << BOOST_STDLIB << ", " << BOOST_PLATFORM << std::endl;
 }
 
 template <class T>
@@ -76,7 +76,7 @@ void test(T t, const char* p)
    test_beta(t, p);
 }
 
-BOOST_AUTO_TEST_CASE( test_main )
+BOOST_AUTO_TEST_CASE(test_main)
 {
    using namespace boost::multiprecision;
    expected_results();
@@ -88,6 +88,3 @@ BOOST_AUTO_TEST_CASE( test_main )
    //
    ALL_TESTS
 }
-
-
-