3 # Test use Math::BigFloat with => 'Math::BigInt::SomeSubclass';
11 # to locate the testing files
12 my $location = $0; $location =~ s/with_sub.t//i;
15 # testing with the core distribution
18 unshift @INC, '../lib';
23 unshift @INC, File::Spec->catdir(File::Spec->updir, $location);
27 unshift @INC, $location;
29 print "# INC = @INC\n";
35 use Math::BigFloat with => 'Math::BigInt::Subclass';
37 use vars qw ($class $try $x $y $f @args $ans $ans1 $ans1_str $setup $CL);
38 $class = "Math::BigFloat";
39 $CL = "Math::BigInt::Calc";
41 ok (Math::BigFloat->config()->{with}, 'Math::BigInt::Subclass');
43 require 'bigfltpm.inc'; # all tests here for sharing