summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2009-12-22 03:47:42 +0100
committerTorbjorn Granlund <tege@gmplib.org>2009-12-22 03:47:42 +0100
commita8fa14ca9d9f230e89bf6261e04c12ce00919ca8 (patch)
tree4d05ed39bb0b5cf61284d332007be4ed1ed51009
parent2561433d44c5a8dc05480d28c3c1b7105341fac8 (diff)
downloadgmp-a8fa14ca9d9f230e89bf6261e04c12ce00919ca8.tar.gz
Increase some tests/mpn iteration counts.
-rw-r--r--tests/mpn/t-invert.c2
-rw-r--r--tests/mpn/t-matrix22.c2
-rw-r--r--tests/mpn/t-mullo.c2
-rw-r--r--tests/mpn/t-toom33.c2
-rw-r--r--tests/mpn/t-toom44.c2
-rw-r--r--tests/mpn/toom-shared.h2
6 files changed, 6 insertions, 6 deletions
diff --git a/tests/mpn/t-invert.c b/tests/mpn/t-invert.c
index a104452be..76a59955e 100644
--- a/tests/mpn/t-invert.c
+++ b/tests/mpn/t-invert.c
@@ -33,7 +33,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#endif
#ifndef COUNT
-#define COUNT 300
+#define COUNT 1000
#endif
#define MAX_N (1L << SIZE_LOG)
diff --git a/tests/mpn/t-matrix22.c b/tests/mpn/t-matrix22.c
index 87c357b65..98cfab386 100644
--- a/tests/mpn/t-matrix22.c
+++ b/tests/mpn/t-matrix22.c
@@ -185,7 +185,7 @@ main (int argc, char **argv)
matrix_init (&B, MAX_SIZE);
mpz_init (bs);
- for (i = 0; i < 17; i++)
+ for (i = 0; i < 1000; i++)
{
mp_size_t an, bn;
mpz_urandomb (bs, rands, 32);
diff --git a/tests/mpn/t-mullo.c b/tests/mpn/t-mullo.c
index dda50648c..f91ff064b 100644
--- a/tests/mpn/t-mullo.c
+++ b/tests/mpn/t-mullo.c
@@ -31,7 +31,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#endif
#ifndef COUNT
-#define COUNT 5000
+#define COUNT 10000
#endif
#define MAX_N (1L << SIZE_LOG)
diff --git a/tests/mpn/t-toom33.c b/tests/mpn/t-toom33.c
index d72558200..38935fa99 100644
--- a/tests/mpn/t-toom33.c
+++ b/tests/mpn/t-toom33.c
@@ -6,6 +6,6 @@
#define MIN_AN MUL_TOOM33_THRESHOLD
#define MIN_BN(an) (1 + 2*(((an)+2)/(size_t) 3))
-#define COUNT 100
+#define COUNT 1000
#include "toom-shared.h"
diff --git a/tests/mpn/t-toom44.c b/tests/mpn/t-toom44.c
index 387fc1cf6..9a37e4353 100644
--- a/tests/mpn/t-toom44.c
+++ b/tests/mpn/t-toom44.c
@@ -4,6 +4,6 @@
#define MIN_AN MUL_TOOM44_THRESHOLD
#define MIN_BN(an) (1 + 3*(((an)+3)>>2))
-#define COUNT 100
+#define COUNT 1000
#include "toom-shared.h"
diff --git a/tests/mpn/toom-shared.h b/tests/mpn/toom-shared.h
index 912800a8a..1a820c727 100644
--- a/tests/mpn/toom-shared.h
+++ b/tests/mpn/toom-shared.h
@@ -35,7 +35,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#endif
#ifndef COUNT
-#define COUNT 300
+#define COUNT 2000
#endif
#define MAX_AN (1L << SIZE_LOG)