From ab91be1e8c6e4fe352c3fe8551c9bffe206c89f6 Mon Sep 17 00:00:00 2001 From: Karel Miko Date: Wed, 21 Nov 2018 21:42:52 +0100 Subject: Revert "skip failing Math::BigInt::LTM tests (probably due to Math::BigInt 1.999815)" This reverts commit 20ea7e6045f25c16039cc2a3250f9f23e5ff1284. --- t/mbi_ltm/bigintpm.inc | 65 ++++++++++++++++++++++++-------------------------- t/mbi_ltm_bigintpm.t | 2 +- t/mbi_ltm_bugs.t | 2 +- 3 files changed, 33 insertions(+), 36 deletions(-) (limited to 't') diff --git a/t/mbi_ltm/bigintpm.inc b/t/mbi_ltm/bigintpm.inc index 013ac7ff..35efeca4 100644 --- a/t/mbi_ltm/bigintpm.inc +++ b/t/mbi_ltm/bigintpm.inc @@ -2401,17 +2401,16 @@ abc:0:NaN +281474976710656:0:0 +281474976710656:1:0 +281474976710656:+281474976710656:281474976710656 -#### does not work since Math::BigInt 1.999815 -##281474976710656:-1:281474976710656 -##-2:-3:-4 -##-1:-1:-1 -##-6:-6:-6 -##-7:-4:-8 -##-7:4:0 -##-4:7:4 -### negative argument is bitwise shorter than positive [perl #26559] -##30:-3:28 -##123:-1:123 +281474976710656:-1:281474976710656 +-2:-3:-4 +-1:-1:-1 +-6:-6:-6 +-7:-4:-8 +-7:4:0 +-4:7:4 +# negative argument is bitwise shorter than positive [perl #26559] +30:-3:28 +123:-1:123 # equal arguments are treated special, so also do some test with unequal ones 0xFFFF:0xFFFF:0x0xFFFF 0xFFFFFF:0xFFFFFF:0x0xFFFFFF @@ -2439,17 +2438,16 @@ abc:0:NaN +281474976710656:0:281474976710656 +281474976710656:1:281474976710657 +281474976710656:281474976710656:281474976710656 -#### does not work since Math::BigInt 1.999815 -##-2:-3:-1 -##-1:-1:-1 -##-6:-6:-6 -##-7:4:-3 -##-4:7:-1 -##+281474976710656:-1:-1 -##30:-3:-1 -##30:-4:-2 -##300:-76:-68 -##-76:300:-68 +-2:-3:-1 +-1:-1:-1 +-6:-6:-6 +-7:4:-3 +-4:7:-1 ++281474976710656:-1:-1 +30:-3:-1 +30:-4:-2 +300:-76:-68 +-76:300:-68 # equal arguments are treated special, so also do some test with unequal ones 0xFFFF:0xFFFF:0x0xFFFF 0xFFFFFF:0xFFFFFF:0x0xFFFFFF @@ -2492,18 +2490,17 @@ abc:0:NaN +281474976710656:0:281474976710656 +281474976710656:1:281474976710657 +281474976710656:281474976710656:0 -#### does not work since Math::BigInt 1.999815 -##-2:-3:3 -##-1:-1:0 -##-6:-6:0 -##-7:4:-3 -##-4:7:-5 -##4:-7:-3 -##-4:-7:5 -##30:-3:-29 -##30:-4:-30 -##300:-76:-360 -##-76:300:-360 +-2:-3:3 +-1:-1:0 +-6:-6:0 +-7:4:-3 +-4:7:-5 +4:-7:-3 +-4:-7:5 +30:-3:-29 +30:-4:-30 +300:-76:-360 +-76:300:-360 # equal arguments are treated special, so also do some test with unequal ones 0xFFFF:0xFFFF:0 0xFFFFFF:0xFFFFFF:0 diff --git a/t/mbi_ltm_bigintpm.t b/t/mbi_ltm_bigintpm.t index 18d528c1..976e7b1e 100644 --- a/t/mbi_ltm_bigintpm.t +++ b/t/mbi_ltm_bigintpm.t @@ -7,7 +7,7 @@ use Test::More; BEGIN { plan skip_all => "requires Math::BigInt 1.999712+" unless eval { require Math::BigInt && eval($Math::BigInt::VERSION) >= 1.999712 }; - plan tests => 3652 # tests in require'd file + plan tests => 3712 # tests in require'd file + 6; # tests in this file } diff --git a/t/mbi_ltm_bugs.t b/t/mbi_ltm_bugs.t index 18d528c1..976e7b1e 100644 --- a/t/mbi_ltm_bugs.t +++ b/t/mbi_ltm_bugs.t @@ -7,7 +7,7 @@ use Test::More; BEGIN { plan skip_all => "requires Math::BigInt 1.999712+" unless eval { require Math::BigInt && eval($Math::BigInt::VERSION) >= 1.999712 }; - plan tests => 3652 # tests in require'd file + plan tests => 3712 # tests in require'd file + 6; # tests in this file } -- cgit v1.2.3