[libmath-prime-util-perl] 131/181: Back off internal PP prime count in test, to help out very slow machines

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 2ac307a39900170b8bff0826dd90f48207963f3d
Author: Dana Jacobsen <dana at acm.org>
Date:   Tue Jan 7 14:36:55 2014 -0800

    Back off internal PP prime count in test, to help out very slow machines
---
 t/13-primecount.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/13-primecount.t b/t/13-primecount.t
index 8c10cba..d0a1864 100644
--- a/t/13-primecount.t
+++ b/t/13-primecount.t
@@ -166,7 +166,7 @@ SKIP: {
   is(Math::Prime::Util::_XS_segment_pi (66123456), 3903023,"XS segment count");
 }
 is(Math::Prime::Util::PP::_lehmer_pi   (1456789), 111119, "PP Lehmer count");
-is(Math::Prime::Util::PP::_sieve_prime_count(1456789), 111119, "PP sieve count");
+is(Math::Prime::Util::PP::_sieve_prime_count(145678), 13478, "PP sieve count");
 if ($extra) {
   is(Math::Prime::Util::PP::_lehmer_pi   (3456789), 247352, "PP Lehmer count");
   is(Math::Prime::Util::PP::_sieve_prime_count(3456789), 247352, "PP sieve count");

-- 
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