[libmath-prime-util-perl] 21/23: Missed an inf

Partha P. Mukherjee ppm-guest at moszumanska.debian.org
Thu May 21 18:45:57 UTC 2015


This is an automated email from the git hooks/post-receive script.

ppm-guest pushed a commit to annotated tag v0.14
in repository libmath-prime-util-perl.

commit 49b7d0399ea641f1d122fe386eac32cb5b8873d2
Author: Dana Jacobsen <dana at acm.org>
Date:   Thu Nov 29 16:13:34 2012 -0800

    Missed an inf
---
 t/18-functions.t | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/t/18-functions.t b/t/18-functions.t
index 523a552..7324f6b 100644
--- a/t/18-functions.t
+++ b/t/18-functions.t
@@ -22,9 +22,9 @@ cmp_ok( ExponentialIntegral(0),         '<=',-$infinity, "Ei(0) is -infinity");
 cmp_ok( ExponentialIntegral(-$infinity),'==', 0,         "Ei(-inf) is 0" );
 cmp_ok( ExponentialIntegral($infinity), '>=', $infinity, "Ei(inf) is infinity");
 
-cmp_ok( LogarithmicIntegral(0),    '==', 0,         "li(0) is 0" );
-cmp_ok( LogarithmicIntegral(1),    '<=',-$infinity, "li(1) is -infinity" );
-cmp_ok( LogarithmicIntegral('inf'),'>=', $infinity, "li(inf) is infinity" );
+cmp_ok( LogarithmicIntegral(0),         '==', 0,         "li(0) is 0");
+cmp_ok( LogarithmicIntegral(1),         '<=',-$infinity, "li(1) is -infinity");
+cmp_ok( LogarithmicIntegral($infinity)),'>=', $infinity, "li(inf) is infinity");
 
 # Example used in Math::Cephes
 cmp_closeto( ExponentialIntegral(2.2), 5.732614700, 1e-06, "Ei(2.2)");

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