diff options
Diffstat (limited to 'lib/Math/BigInt/t/bare_mbi.t')
-rw-r--r-- | lib/Math/BigInt/t/bare_mbi.t | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/lib/Math/BigInt/t/bare_mbi.t b/lib/Math/BigInt/t/bare_mbi.t new file mode 100644 index 0000000000..03aed4684d --- /dev/null +++ b/lib/Math/BigInt/t/bare_mbi.t @@ -0,0 +1,42 @@ +#!/usr/bin/perl -w + +use Test; +use strict; + +BEGIN + { + $| = 1; + # to locate the testing files + my $location = $0; $location =~ s/bare_mbi.t//i; + print "loc $location\n"; + if ($ENV{PERL_CORE}) + { + # testing with the core distribution + @INC = qw(../t/lib); + } + unshift @INC, qw(../lib); # to locate the modules + if (-d 't') + { + chdir 't'; + require File::Spec; + unshift @INC, File::Spec->catdir(File::Spec->updir, $location); + } + else + { + unshift @INC, $location; + } + print "# INC = @INC\n"; + + plan tests => 1865; + } + +use Math::BigInt lib => 'BareCalc'; + +use vars qw ($class $try $x $y $f @args $ans $ans1 $ans1_str $setup $CL); +$class = "Math::BigInt"; +$CL = "Math::BigInt::BareCalc"; + +my $version = '1.48'; # for $VERSION tests, match current release (by hand!) + +require 'bigintpm.inc'; # perform same tests as bigintpm + |