]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Add testsuite checks for param_type in the <random> distributions.
authorEdward Smith-Rowland <3dw4rd@verizon.net>
Thu, 23 Feb 2012 02:25:00 +0000 (02:25 +0000)
committerEdward Smith-Rowland <emsr@gcc.gnu.org>
Thu, 23 Feb 2012 02:25:00 +0000 (02:25 +0000)
From-SVN: r184501

21 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/normal_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/requirements/typedefs.cc
libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/requirements/typedefs.cc

index eee0392bd9620f0dca86da608df1de896f1ed47b..eff982f4a03b636e87b96f1a619788820ae0503b 100644 (file)
@@ -1,3 +1,46 @@
+2012-02-14  Edward Smith-Rowland  <3dw4rd@verizon.net>
+
+       * testsuite/26_numerics/random/
+       uniform_real_distribution/requirements/typedefs.cc: Check param_type.
+       * testsuite/26_numerics/random/
+       piecewise_constant_distribution/requirements/typedefs.cc: Ditto.
+       * testsuite/26_numerics/random/
+       chi_squared_distribution/requirements/typedefs.cc: Ditto.
+       * testsuite/26_numerics/random/
+       normal_distribution/requirements/typedefs.cc: Ditto.
+       * testsuite/26_numerics/random/
+       uniform_int_distribution/requirements/typedefs.cc: Ditto.
+       * testsuite/26_numerics/random/
+       poisson_distribution/requirements/typedefs.cc: Ditto.
+       * testsuite/26_numerics/random/
+       bernoulli_distribution/requirements/typedefs.cc: Ditto.
+       * testsuite/26_numerics/random/
+       discrete_distribution/requirements/typedefs.cc: Ditto.
+       * testsuite/26_numerics/random/
+       weibull_distribution/requirements/typedefs.cc: Ditto.
+       * testsuite/26_numerics/random/
+       cauchy_distribution/requirements/typedefs.cc: Ditto.
+       * testsuite/26_numerics/random/
+       negative_binomial_distribution/requirements/typedefs.cc: Ditto.
+       * testsuite/26_numerics/random/
+       gamma_distribution/requirements/typedefs.cc: Ditto.
+       * testsuite/26_numerics/random/
+       fisher_f_distribution/requirements/typedefs.cc: Ditto.
+       * testsuite/26_numerics/random/
+       exponential_distribution/requirements/typedefs.cc: Ditto.
+       * testsuite/26_numerics/random/
+       binomial_distribution/requirements/typedefs.cc: Ditto.
+       * testsuite/26_numerics/random/
+       lognormal_distribution/requirements/typedefs.cc: Ditto.
+       * testsuite/26_numerics/random/
+       extreme_value_distribution/requirements/typedefs.cc: Ditto.
+       * testsuite/26_numerics/random/
+       piecewise_linear_distribution/requirements/typedefs.cc: Ditto.
+       * testsuite/26_numerics/random/
+       student_t_distribution/requirements/typedefs.cc: Ditto.
+       * testsuite/26_numerics/random/
+       geometric_distribution/requirements/typedefs.cc: Ditto.
+
 2012-02-17  Benjamin Kosnik  <bkoz@redhat.com>
 
        PR libstdc++/50349
index adea635e962ae418ddcad7f102ddc46e86acf2eb..71cffdbb9ba2c25321c345faf06c474592c0d260 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::bernoulli_distribution test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index e60fac13c7551b51ed907f470a1242f03a0effff..1f14321c6eb72a0bcba6d8d38cc3b9c003ed8f20 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::binomial_distribution<int> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index 3d80d2ddf0f3d2ca43d4f36847b11e9dbde5f804..933fcde9298f6005cd45f09252958a64a2ce69f3 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::cauchy_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index 271e0fe451a879062a58aa4c53a414198a13a884..d4720328ee7701ab5a993e84220f3780188a74c2 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::chi_squared_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index 7c5977b3808d6ac71cb3221b62e8eb5550182efe..ef4739badd6c15cba1910cffa644364a923799f4 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-12-03  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::discrete_distribution<> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index 7c696e252446eaa23b13d4d1186dfd02409802cc..a2357b5a4fbdf9271461fbec6cb189aed7c8d583 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::exponential_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index 8f5d99da494d933982575fa1f8d77764b964ee56..28fe4063f2eeca87243ef5253b69936d944302fd 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::extreme_value_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index a92727d706b7aa12cdb52b2ad6d2305c12af5fca..0a9b2be4798697ad054e264e394ef80e5c44e96b 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::fisher_f_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index a1d15575e910e5b0b29ecc596fe2f15f55071925..35b4976262469fe342b45f1618219956a4d72d3e 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::gamma_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index cc03ebf0ddb8e4fe13e238cf12b95d5ea13605e6..6e2a4205c55c9f9388b66b6cb40a675e9e9ea60e 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::geometric_distribution<int> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index 2e3ade699c42a465cfee65ad1bac43cd7ba579f9..4122877674dc5bef720b529c0785f4aa8309179d 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::lognormal_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index 5b30fda671c74bdd0df373b8488ce72da989b6d6..2097da2bf89924c7cff09ebaf04a17405a6e7f14 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::negative_binomial_distribution<int> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index 471379d5527b78b5a554f8e877ec2d5854a7a361..f0c04791ce6edf6fe8e67d3e40331be0d18ecdb0 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::normal_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index c0d458ef6a1d228fcff917645e32edb6dd808f3e..633cd540c30beae38cfdd686d849fc751d9aec59 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-12-03  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::piecewise_constant_distribution<> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index cb1d016dce2ce97fe7c7af15241d83c0c73d5401..1a4f5f66f1751a22e2752dd1bd4c21cbce868227 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-12-03  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::piecewise_linear_distribution<> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index d6a600293dac97ccd3efc211fb15ffc7be74e39c..2fcf59805421f54af1f88f63a903f5f98fcc5f8e 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::poisson_distribution<int> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index e090b3542002b6e03475652b5c5f992445c7b51b..6ee131f5ba0ec565b217da3060cf95c54f75c621 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::student_t_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index 3d584b525c561b8d5c66cbeb367bbd7e963ba683..fb4075954b053fbccd174408f02c44ab8b57f229 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::uniform_int_distribution<int> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index c14182f7230796545205fdd911266941cd105a1e..147bd0da7da4f0ca04078994fcc43d0bb4485150 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::uniform_real_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
index 5c8d8e0769b1f742082c35802645808c271ade72..05cc31f50722143c10b099f4197940f59568ac72 100644 (file)
@@ -4,7 +4,7 @@
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 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
@@ -32,4 +32,5 @@ test01()
   typedef std::weibull_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }