diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2016-01-04 13:32:30 +0000 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2016-01-05 13:07:59 +0000 |
commit | 6b10d254fe18e6928745e2db24fec45528237d83 (patch) | |
tree | 73192a80c05c9f3e6f8e30064996df2e863a7b91 /cpan/Math-BigInt/t/bare_mif.t | |
parent | 11fa7e224a4213a94a79eab48bd69233905851f4 (diff) | |
download | perl-6b10d254fe18e6928745e2db24fec45528237d83.tar.gz |
Upgrade Math-BigInt from version 1.999710 to 1.999714
Diffstat (limited to 'cpan/Math-BigInt/t/bare_mif.t')
-rw-r--r-- | cpan/Math-BigInt/t/bare_mif.t | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cpan/Math-BigInt/t/bare_mif.t b/cpan/Math-BigInt/t/bare_mif.t index 2e533241ea..89835bb8bc 100644 --- a/cpan/Math-BigInt/t/bare_mif.t +++ b/cpan/Math-BigInt/t/bare_mif.t @@ -1,24 +1,24 @@ -#!/usr/bin/perl -w +#!perl # test rounding, accuracy, precision and fallback, round_mode and mixing -# of classes under BareCalc +# of classes under Math::BigInt::BareCalc use strict; -use Test::More tests => 684 - + 1; # our own tests +use warnings; -BEGIN { unshift @INC, 't'; } +use Test::More tests => 684 # tests in require'd file + + 1; # tests in this file -print "# ",Math::BigInt->config()->{lib},"\n"; +use lib 't'; -use Math::BigInt lib => 'BareCalc'; +use Math::BigInt lib => 'BareCalc'; use Math::BigFloat lib => 'BareCalc'; -use vars qw/$mbi $mbf/; - +our ($mbi, $mbf); $mbi = 'Math::BigInt'; $mbf = 'Math::BigFloat'; -is (Math::BigInt->config()->{lib},'Math::BigInt::BareCalc'); +is(Math::BigInt->config()->{lib}, 'Math::BigInt::BareCalc', + 'Math::BigInt->config()->{lib}'); require 't/mbimbf.inc'; |