]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/util/regression/rand/priority_queue/rand_regression_test.hpp
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / util / regression / rand / priority_queue / rand_regression_test.hpp
index 227f60b19dbbadf2c63f1139ac75b15875f3474b..d9c40451bcbc48aad00dc87199eed0a74b981693 100644 (file)
@@ -1,7 +1,6 @@
 // -*- C++ -*-
 
-// Copyright (C) 2005, 2006, 2008, 2009, 2010, 2011
-// Free Software Foundation, Inc.
+// Copyright (C) 2005-2024 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the terms
@@ -57,11 +56,11 @@ namespace detail
   struct rand_reg_test
   {
   public:
-    rand_reg_test(size_t seed, size_t n, size_t m, double tp, double ip, 
-                 double dp, double ep, double cp, double mp, bool d) 
-    : m_sd(seed), m_n(n), m_m(m), m_tp(tp), m_ip(ip), m_dp(dp), m_ep(ep), 
+    rand_reg_test(size_t seed, size_t n, size_t m, double tp, double ip,
+                 double dp, double ep, double cp, double mp, bool d)
+    : m_sd(seed), m_n(n), m_m(m), m_tp(tp), m_ip(ip), m_dp(dp), m_ep(ep),
       m_cp(cp), m_mp(mp), m_disp(d)
-    { 
+    {
       if (m_disp)
        xml_test_rand_regression_formatter(seed, n, m, tp, ip, ep, cp, mp);
     }
@@ -71,7 +70,7 @@ namespace detail
     operator()(Cntnr)
     {
       unsigned long ul = static_cast<unsigned long>(m_sd);
-      container_rand_regression_test<Cntnr> t(ul, m_n, m_n, m_tp, m_ip, m_dp, 
+      container_rand_regression_test<Cntnr> t(ul, m_n, m_n, m_tp, m_ip, m_dp,
                                              m_ep, m_cp, m_mp, m_disp);
       t();
     }
@@ -93,7 +92,7 @@ namespace detail
   usage(const std::string& r_name);
 
   void
-  verify_params(size_t&, size_t&, size_t&, 
+  verify_params(size_t&, size_t&, size_t&,
                double&, double&, double&, double&, double&, double&, bool&);
 } // namespace detail
 
@@ -108,7 +107,7 @@ namespace detail
     double tp = 0.2;
     double ip = 0.6;
     double dp = 0.1;
-    double ep = 0.2; 
+    double ep = 0.2;
     double cp = 0.001;
     double mp = 1;
     bool disp = true; // show progress
@@ -176,8 +175,8 @@ namespace detail
   }
 
   inline void
-  verify_params(size_t& r_seed, size_t& r_n, 
-               size_t& r_m, double& r_tp, double& r_ip, double& r_dp, 
+  verify_params(size_t& r_seed, size_t& r_n,
+               size_t& r_m, double& r_tp, double& r_ip, double& r_dp,
                double& r_ep, double& r_cp, double& r_mp, bool& r_d)
   {
     verify_prob(r_tp);