[libmath-prime-util-perl] 137/181: Move PP AKS to only run with EXTENDED_TESTING. It's horribly slow, a function nobody should practically use for anything, and they would run the C or GMP version anyway.
Partha P. Mukherjee
ppm-guest at moszumanska.debian.org
Thu May 21 18:51:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
ppm-guest pushed a commit to annotated tag v0.36
in repository libmath-prime-util-perl.
commit 2cc07a3a8d489da5c8cb65ba53307b0c78f0353a
Author: Dana Jacobsen <dana at acm.org>
Date: Wed Jan 8 03:06:10 2014 -0800
Move PP AKS to only run with EXTENDED_TESTING. It's horribly slow, a function nobody should practically use for anything, and they would run the C or GMP version anyway.
---
t/80-pp.t | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/80-pp.t b/t/80-pp.t
index bf822e3..7028fa3 100644
--- a/t/80-pp.t
+++ b/t/80-pp.t
@@ -591,10 +591,10 @@ is( is_aks_prime(4), 0, "AKS: 4 is composite" );
is( is_aks_prime(64), 0, "AKS: 64 is composite (perfect power)" );
is( is_aks_prime(65), 0, "AKS: 65 is composite (caught in trial)" );
is( is_aks_prime(23), 1, "AKS: 23 is prime (r >= n)" );
-is( is_aks_prime(101), 1, "AKS: 101 is prime (passed anr test)" );
is( is_aks_prime(70747), 0, "AKS: 70747 is composite (n mod r)" );
SKIP: {
- skip "Skipping PP AKS test on 32-bit machine", 1 unless $use64 || $extra;
+ skip "Skipping PP AKS test without EXTENDED_TESTING", 2 unless $extra;
+ is( is_aks_prime(101), 1, "AKS: 101 is prime (passed anr test)" );
is( is_aks_prime(74513), 0, "AKS: 74513 is composite (failed anr test)" );
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-prime-util-perl.git
More information about the Pkg-perl-cvs-commits
mailing list