3 # see if using Math::BigInt and Math::BigFloat works together nicely.
4 # all use_lib*.t should be equivalent
12 # to locate the testing files
13 my $location = $0; $location =~ s/use_lib3.t//i;
16 # testing with the core distribution
19 unshift @INC, qw(../lib); # to locate the modules
24 unshift @INC, File::Spec->catdir(File::Spec->updir, $location);
28 unshift @INC, $location;
30 print "# INC = @INC\n";
35 use Math::BigInt lib => 'BareCalc';
38 ok (Math::BigInt->config()->{lib},'Math::BigInt::BareCalc');
40 ok (Math::BigFloat->new(123)->badd(123),246);