[gnumeric] Tests: status update for random number generation.



commit 8b75a75d3726334eb95c6233d4e6d16be1c7d90d
Author: Morten Welinder <terra gnome org>
Date:   Thu Mar 24 13:54:11 2016 -0400

    Tests: status update for random number generation.

 plugins/fn-random/functions.c |   48 +++++++++++++++++++++-------------------
 1 files changed, 25 insertions(+), 23 deletions(-)
---
diff --git a/plugins/fn-random/functions.c b/plugins/fn-random/functions.c
index f99a39f..ec691c4 100644
--- a/plugins/fn-random/functions.c
+++ b/plugins/fn-random/functions.c
@@ -962,43 +962,45 @@ gnumeric_randstdist (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 
 /***************************************************************************/
 
+// Note: Most of the tests for these reside in sstest
+
 GnmFuncDescriptor const random_functions[] = {
        { "rand",    "", help_rand,
          gnumeric_rand, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
+         GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randbernoulli", "f",    help_randbernoulli,
          gnumeric_randbernoulli, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randbeta", "ff",    help_randbeta,
          gnumeric_randbeta, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randbetween", "ff",  help_randbetween,
          gnumeric_randbetween, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
+         GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randbinom", "ff",  help_randbinom,
          gnumeric_randbinom, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randcauchy", "f",    help_randcauchy,
          gnumeric_randcauchy, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randchisq", "f",    help_randchisq,
          gnumeric_randchisq, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
        { "randdiscrete", "r|r",
          help_randdiscrete, gnumeric_randdiscrete, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
        { "randexp", "f",          help_randexp,
          gnumeric_randexp, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randexppow", "ff",          help_randexppow,
          gnumeric_randexppow, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
@@ -1006,11 +1008,11 @@ GnmFuncDescriptor const random_functions[] = {
         { "randfdist", "ff",       help_randfdist,
          gnumeric_randfdist, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randgamma", "ff",     help_randgamma,
          gnumeric_randgamma, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randnormtail", "ff",     help_randnormtail,
          gnumeric_randnormtail, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
@@ -1018,7 +1020,7 @@ GnmFuncDescriptor const random_functions[] = {
         { "randgeom", "f",     help_randgeom,
          gnumeric_randgeom, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randgumbel", "ff|f",     help_randgumbel,
          gnumeric_randgumbel, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
@@ -1026,7 +1028,7 @@ GnmFuncDescriptor const random_functions[] = {
         { "randhyperg", "fff",     help_randhyperg,
          gnumeric_randhyperg, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randlandau", "", help_randlandau,
          gnumeric_randlandau, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
@@ -1042,7 +1044,7 @@ GnmFuncDescriptor const random_functions[] = {
         { "randlog", "f",  help_randlog,
          gnumeric_randlog, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randlogistic", "f",  help_randlogistic,
          gnumeric_randlogistic, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
@@ -1050,15 +1052,15 @@ GnmFuncDescriptor const random_functions[] = {
         { "randlognorm", "ff",  help_randlognorm,
          gnumeric_randlognorm, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randnegbinom", "ff",  help_randnegbinom,
          gnumeric_randnegbinom, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randnorm", "ff",  help_randnorm,
          gnumeric_randnorm, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randpareto", "ff",  help_randpareto,
          gnumeric_randpareto, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
@@ -1066,11 +1068,11 @@ GnmFuncDescriptor const random_functions[] = {
         { "randpoisson", "f",  help_randpoisson,
          gnumeric_randpoisson, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randrayleigh", "f",  help_randrayleigh,
          gnumeric_randrayleigh, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randrayleightail", "ff",  help_randrayleightail,
          gnumeric_randrayleightail, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
@@ -1078,7 +1080,7 @@ GnmFuncDescriptor const random_functions[] = {
         { "randsnorm", "|fff",  help_randsnorm,
          gnumeric_randsnorm, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randstdist", "ff",  help_randstdist,
          gnumeric_randstdist, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
@@ -1086,15 +1088,15 @@ GnmFuncDescriptor const random_functions[] = {
         { "randtdist", "f",  help_randtdist,
          gnumeric_randtdist, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randuniform", "ff",  help_randuniform,
          gnumeric_randuniform, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
         { "randweibull", "ff",  help_randweibull,
          gnumeric_randweibull, NULL, NULL, NULL,
          GNM_FUNC_SIMPLE | GNM_FUNC_VOLATILE,
-         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },
+         GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_EXHAUSTIVE },
        { "simtable", NULL,  help_simtable,
          NULL, gnumeric_simtable, NULL, NULL,
          GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_NO_TESTSUITE },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]