|
|
40907c4 |
From 9b655434721db4608c403f3ec1bf3ed90d45fb42 Mon Sep 17 00:00:00 2001
|
|
|
40907c4 |
From: Karel Miko <karel.miko@gmail.com>
|
|
|
40907c4 |
Date: Fri, 27 Apr 2018 19:01:54 +0200
|
|
|
40907c4 |
Subject: [PATCH] remove buggy Math::BigInt related tests
|
|
|
40907c4 |
MIME-Version: 1.0
|
|
|
40907c4 |
Content-Type: text/plain; charset=UTF-8
|
|
|
40907c4 |
Content-Transfer-Encoding: 8bit
|
|
|
40907c4 |
|
|
|
40907c4 |
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
|
|
40907c4 |
---
|
|
|
40907c4 |
t/mbi_ltm/bigfltpm.inc | 3 ---
|
|
|
40907c4 |
t/mbi_ltm/bigintpm.inc | 5 -----
|
|
|
40907c4 |
t/mbi_ltm_bigfltpm.t | 2 +-
|
|
|
40907c4 |
t/mbi_ltm_bigintpm.t | 2 +-
|
|
|
40907c4 |
t/mbi_ltm_bugs.t | 2 +-
|
|
|
40907c4 |
5 files changed, 3 insertions(+), 11 deletions(-)
|
|
|
40907c4 |
|
|
|
40907c4 |
diff --git a/t/mbi_ltm/bigfltpm.inc b/t/mbi_ltm/bigfltpm.inc
|
|
|
40907c4 |
index 10d05137..97e7cdca 100644
|
|
|
40907c4 |
--- a/t/mbi_ltm/bigfltpm.inc
|
|
|
40907c4 |
+++ b/t/mbi_ltm/bigfltpm.inc
|
|
|
40907c4 |
@@ -950,9 +950,6 @@ NaN:21:NaN
|
|
|
40907c4 |
abc:123.456:NaN
|
|
|
40907c4 |
123.456:abc:NaN
|
|
|
40907c4 |
+inf:123.45:inf
|
|
|
40907c4 |
--inf:123.45:-inf
|
|
|
40907c4 |
-+inf:-123.45:inf
|
|
|
40907c4 |
--inf:-123.45:-inf
|
|
|
40907c4 |
-2:2:4
|
|
|
40907c4 |
-2:3:-8
|
|
|
40907c4 |
-2:4:16
|
|
|
40907c4 |
diff --git a/t/mbi_ltm/bigintpm.inc b/t/mbi_ltm/bigintpm.inc
|
|
|
40907c4 |
index 0798e544..35efeca4 100644
|
|
|
40907c4 |
--- a/t/mbi_ltm/bigintpm.inc
|
|
|
40907c4 |
+++ b/t/mbi_ltm/bigintpm.inc
|
|
|
40907c4 |
@@ -2651,26 +2651,21 @@ abc:12:NaN
|
|
|
40907c4 |
+inf:1234500012:inf
|
|
|
40907c4 |
-inf:1234500012:inf
|
|
|
40907c4 |
-inf:1234500013:-inf
|
|
|
40907c4 |
-+inf:-12345000123:inf
|
|
|
40907c4 |
--inf:-12345000123:-inf
|
|
|
40907c4 |
# -inf * -inf = inf
|
|
|
40907c4 |
-inf:2:inf
|
|
|
40907c4 |
-inf:0:NaN
|
|
|
40907c4 |
-inf:-1:0
|
|
|
40907c4 |
--inf:inf:NaN
|
|
|
40907c4 |
2:inf:inf
|
|
|
40907c4 |
2:-inf:0
|
|
|
40907c4 |
0:inf:0
|
|
|
40907c4 |
0:-inf:inf
|
|
|
40907c4 |
-1:-inf:NaN
|
|
|
40907c4 |
-1:inf:NaN
|
|
|
40907c4 |
--2:inf:NaN
|
|
|
40907c4 |
-2:-inf:0
|
|
|
40907c4 |
NaN:inf:NaN
|
|
|
40907c4 |
NaN:-inf:NaN
|
|
|
40907c4 |
-inf:NaN:NaN
|
|
|
40907c4 |
inf:NaN:NaN
|
|
|
40907c4 |
-inf:-inf:NaN
|
|
|
40907c4 |
1:inf:1
|
|
|
40907c4 |
1:-inf:1
|
|
|
40907c4 |
# 1 ** -x => 1 / (1 ** x)
|
|
|
40907c4 |
diff --git a/t/mbi_ltm_bigfltpm.t b/t/mbi_ltm_bigfltpm.t
|
|
|
40907c4 |
index 3540868a..8173e27b 100644
|
|
|
40907c4 |
--- a/t/mbi_ltm_bigfltpm.t
|
|
|
40907c4 |
+++ b/t/mbi_ltm_bigfltpm.t
|
|
|
40907c4 |
@@ -7,7 +7,7 @@ use Test::More;
|
|
|
40907c4 |
|
|
|
40907c4 |
BEGIN {
|
|
|
40907c4 |
plan skip_all => "requires Math::BigFloat 1.999715+" unless eval { require Math::BigFloat && eval($Math::BigFloat::VERSION) >= 1.999715 };
|
|
|
40907c4 |
- plan tests => 2409 # tests in require'd file
|
|
|
40907c4 |
+ plan tests => 2403 # tests in require'd file
|
|
|
40907c4 |
+ 5; # tests in this file
|
|
|
40907c4 |
}
|
|
|
40907c4 |
|
|
|
40907c4 |
diff --git a/t/mbi_ltm_bigintpm.t b/t/mbi_ltm_bigintpm.t
|
|
|
40907c4 |
index ebb7582e..976e7b1e 100644
|
|
|
40907c4 |
--- a/t/mbi_ltm_bigintpm.t
|
|
|
40907c4 |
+++ b/t/mbi_ltm_bigintpm.t
|
|
|
40907c4 |
@@ -7,7 +7,7 @@ use Test::More;
|
|
|
40907c4 |
|
|
|
40907c4 |
BEGIN {
|
|
|
40907c4 |
plan skip_all => "requires Math::BigInt 1.999712+" unless eval { require Math::BigInt && eval($Math::BigInt::VERSION) >= 1.999712 };
|
|
|
40907c4 |
- plan tests => 3722 # tests in require'd file
|
|
|
40907c4 |
+ plan tests => 3712 # tests in require'd file
|
|
|
40907c4 |
+ 6; # tests in this file
|
|
|
40907c4 |
}
|
|
|
40907c4 |
|
|
|
40907c4 |
diff --git a/t/mbi_ltm_bugs.t b/t/mbi_ltm_bugs.t
|
|
|
40907c4 |
index ebb7582e..976e7b1e 100644
|
|
|
40907c4 |
--- a/t/mbi_ltm_bugs.t
|
|
|
40907c4 |
+++ b/t/mbi_ltm_bugs.t
|
|
|
40907c4 |
@@ -7,7 +7,7 @@ use Test::More;
|
|
|
40907c4 |
|
|
|
40907c4 |
BEGIN {
|
|
|
40907c4 |
plan skip_all => "requires Math::BigInt 1.999712+" unless eval { require Math::BigInt && eval($Math::BigInt::VERSION) >= 1.999712 };
|
|
|
40907c4 |
- plan tests => 3722 # tests in require'd file
|
|
|
40907c4 |
+ plan tests => 3712 # tests in require'd file
|
|
|
40907c4 |
+ 6; # tests in this file
|
|
|
40907c4 |
}
|
|
|
40907c4 |
|
|
|
40907c4 |
--
|
|
|
40907c4 |
2.14.3
|
|
|
40907c4 |
|