Revert "skip failing Math::BigInt::LTM tests (probably due to Math::BigInt 1.999815)"
This reverts commit 20ea7e6045f25c16039cc2a3250f9f23e5ff1284.
Karel Miko
5 years ago
2400 | 2400 |
+281474976710656:0:0
|
2401 | 2401 |
+281474976710656:1:0
|
2402 | 2402 |
+281474976710656:+281474976710656:281474976710656
|
2403 | |
#### does not work since Math::BigInt 1.999815
|
2404 | |
##281474976710656:-1:281474976710656
|
2405 | |
##-2:-3:-4
|
2406 | |
##-1:-1:-1
|
2407 | |
##-6:-6:-6
|
2408 | |
##-7:-4:-8
|
2409 | |
##-7:4:0
|
2410 | |
##-4:7:4
|
2411 | |
### negative argument is bitwise shorter than positive [perl #26559]
|
2412 | |
##30:-3:28
|
2413 | |
##123:-1:123
|
|
2403 |
281474976710656:-1:281474976710656
|
|
2404 |
-2:-3:-4
|
|
2405 |
-1:-1:-1
|
|
2406 |
-6:-6:-6
|
|
2407 |
-7:-4:-8
|
|
2408 |
-7:4:0
|
|
2409 |
-4:7:4
|
|
2410 |
# negative argument is bitwise shorter than positive [perl #26559]
|
|
2411 |
30:-3:28
|
|
2412 |
123:-1:123
|
2414 | 2413 |
# equal arguments are treated special, so also do some test with unequal ones
|
2415 | 2414 |
0xFFFF:0xFFFF:0x0xFFFF
|
2416 | 2415 |
0xFFFFFF:0xFFFFFF:0x0xFFFFFF
|
|
2438 | 2437 |
+281474976710656:0:281474976710656
|
2439 | 2438 |
+281474976710656:1:281474976710657
|
2440 | 2439 |
+281474976710656:281474976710656:281474976710656
|
2441 | |
#### does not work since Math::BigInt 1.999815
|
2442 | |
##-2:-3:-1
|
2443 | |
##-1:-1:-1
|
2444 | |
##-6:-6:-6
|
2445 | |
##-7:4:-3
|
2446 | |
##-4:7:-1
|
2447 | |
##+281474976710656:-1:-1
|
2448 | |
##30:-3:-1
|
2449 | |
##30:-4:-2
|
2450 | |
##300:-76:-68
|
2451 | |
##-76:300:-68
|
|
2440 |
-2:-3:-1
|
|
2441 |
-1:-1:-1
|
|
2442 |
-6:-6:-6
|
|
2443 |
-7:4:-3
|
|
2444 |
-4:7:-1
|
|
2445 |
+281474976710656:-1:-1
|
|
2446 |
30:-3:-1
|
|
2447 |
30:-4:-2
|
|
2448 |
300:-76:-68
|
|
2449 |
-76:300:-68
|
2452 | 2450 |
# equal arguments are treated special, so also do some test with unequal ones
|
2453 | 2451 |
0xFFFF:0xFFFF:0x0xFFFF
|
2454 | 2452 |
0xFFFFFF:0xFFFFFF:0x0xFFFFFF
|
|
2491 | 2489 |
+281474976710656:0:281474976710656
|
2492 | 2490 |
+281474976710656:1:281474976710657
|
2493 | 2491 |
+281474976710656:281474976710656:0
|
2494 | |
#### does not work since Math::BigInt 1.999815
|
2495 | |
##-2:-3:3
|
2496 | |
##-1:-1:0
|
2497 | |
##-6:-6:0
|
2498 | |
##-7:4:-3
|
2499 | |
##-4:7:-5
|
2500 | |
##4:-7:-3
|
2501 | |
##-4:-7:5
|
2502 | |
##30:-3:-29
|
2503 | |
##30:-4:-30
|
2504 | |
##300:-76:-360
|
2505 | |
##-76:300:-360
|
|
2492 |
-2:-3:3
|
|
2493 |
-1:-1:0
|
|
2494 |
-6:-6:0
|
|
2495 |
-7:4:-3
|
|
2496 |
-4:7:-5
|
|
2497 |
4:-7:-3
|
|
2498 |
-4:-7:5
|
|
2499 |
30:-3:-29
|
|
2500 |
30:-4:-30
|
|
2501 |
300:-76:-360
|
|
2502 |
-76:300:-360
|
2506 | 2503 |
# equal arguments are treated special, so also do some test with unequal ones
|
2507 | 2504 |
0xFFFF:0xFFFF:0
|
2508 | 2505 |
0xFFFFFF:0xFFFFFF:0
|
6 | 6 |
|
7 | 7 |
BEGIN {
|
8 | 8 |
plan skip_all => "requires Math::BigInt 1.999712+" unless eval { require Math::BigInt && eval($Math::BigInt::VERSION) >= 1.999712 };
|
9 | |
plan tests => 3652 # tests in require'd file
|
|
9 |
plan tests => 3712 # tests in require'd file
|
10 | 10 |
+ 6; # tests in this file
|
11 | 11 |
}
|
12 | 12 |
|
6 | 6 |
|
7 | 7 |
BEGIN {
|
8 | 8 |
plan skip_all => "requires Math::BigInt 1.999712+" unless eval { require Math::BigInt && eval($Math::BigInt::VERSION) >= 1.999712 };
|
9 | |
plan tests => 3652 # tests in require'd file
|
|
9 |
plan tests => 3712 # tests in require'd file
|
10 | 10 |
+ 6; # tests in this file
|
11 | 11 |
}
|
12 | 12 |
|