Codebase list libcryptx-perl / ab91be1
Revert "skip failing Math::BigInt::LTM tests (probably due to Math::BigInt 1.999815)" This reverts commit 20ea7e6045f25c16039cc2a3250f9f23e5ff1284. Karel Miko 5 years ago
3 changed file(s) with 33 addition(s) and 36 deletion(s). Raw diff Collapse all Expand all
24002400 +281474976710656:0:0
24012401 +281474976710656:1:0
24022402 +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
24142413 # equal arguments are treated special, so also do some test with unequal ones
24152414 0xFFFF:0xFFFF:0x0xFFFF
24162415 0xFFFFFF:0xFFFFFF:0x0xFFFFFF
24382437 +281474976710656:0:281474976710656
24392438 +281474976710656:1:281474976710657
24402439 +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
24522450 # equal arguments are treated special, so also do some test with unequal ones
24532451 0xFFFF:0xFFFF:0x0xFFFF
24542452 0xFFFFFF:0xFFFFFF:0x0xFFFFFF
24912489 +281474976710656:0:281474976710656
24922490 +281474976710656:1:281474976710657
24932491 +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
25062503 # equal arguments are treated special, so also do some test with unequal ones
25072504 0xFFFF:0xFFFF:0
25082505 0xFFFFFF:0xFFFFFF:0
66
77 BEGIN {
88 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
1010 + 6; # tests in this file
1111 }
1212
66
77 BEGIN {
88 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
1010 + 6; # tests in this file
1111 }
1212