9 # to locate the testing files
10 my $location = $0; $location =~ s/bare_mbi.t//i;
13 # testing with the core distribution
16 unshift @INC, qw(../lib); # to locate the modules
21 unshift @INC, File::Spec->catdir(File::Spec->updir, $location);
25 unshift @INC, $location;
27 print "# INC = @INC\n";
32 use Math::BigInt lib => 'BareCalc';
34 print "# ",Math::BigInt->config()->{lib},"\n";
36 use vars qw ($class $try $x $y $f @args $ans $ans1 $ans1_str $setup $CL);
37 $class = "Math::BigInt";
38 $CL = "Math::BigInt::BareCalc";
40 my $version = '1.51'; # for $VERSION tests, match current release (by hand!)
42 require 'bigintpm.inc'; # perform same tests as bigintpm