3 # check that requiring Math::BigFloat and then calling import() works
8 use Test::More tests => 3;
12 # normal require that calls import automatically (we thus have MBI afterwards)
13 require Math::BigFloat;
15 my $x = Math::BigFloat->new(1);
19 like(Math::BigFloat->config()->{with}, qr/^Math::BigInt::(Fast)?Calc\z/,
23 Math::BigFloat->import(with => 'Math::BigInt::Subclass');
25 # the "with" argument is ignored
26 like(Math::BigFloat->config()->{with}, qr/^Math::BigInt::(Fast)?Calc\z/,