use_mbfw.t revision 7c478bd95313f5f23a4c958a745db2134aa03244
# check that using BigFloat with "with" and "lib" at the same time works
# broken in versions up to v1.63
use strict;
use Test;
{
$| = 1;
# to locate the testing files
my $location = $0; $location =~ s/use_mbfw.t//i;
{
# testing with the core distribution
}
if (-d 't')
{
chdir 't';
}
else
{
}
print "# INC = @INC\n";
}
# the replacement lib can handle the lib statement, but it could also ignore
# it completely, for instance, when it is a 100% replacement for BigInt, but
# doesn't know the concept of alternative libs. But it still needs to cope
# with "lib => ". SubClass does record it, so we test here essential if
# BigFloat hands the lib properly down, any more is outside out testing reach.
# ok ($Math::BigInt::Subclass::lib, 'BareCalc' );
# it never arrives here, but that is a design decision in SubClass
# all tests done