3 # test rounding, accuracy, precicion and fallback, round_mode and mixing
4 # of classes under BareCalc
12 # to locate the testing files
13 my $location = $0; $location =~ s/bare_mif.t//i;
16 @INC = qw(../t/lib); # testing with the core distribution
18 unshift @INC, '../lib'; # for testing manually
23 unshift @INC, File::Spec->catdir(File::Spec->updir, $location);
27 unshift @INC, $location;
29 print "# INC = @INC\n";
35 print "# ",Math::BigInt->config()->{lib},"\n";
37 use Math::BigInt lib => 'BareCalc';
38 use Math::BigFloat lib => 'BareCalc';
40 use vars qw/$mbi $mbf/;
42 $mbi = 'Math::BigInt';
43 $mbf = 'Math::BigFloat';
45 ok (Math::BigInt->config()->{lib},'Math::BigInt::BareCalc');