A little better comments.
[p5sagit/p5-mst-13.2.git] / lib / Math / BigInt / t / bare_mbi.t
CommitLineData
394e6ffb 1#!/usr/bin/perl -w
2
3use Test;
4use strict;
5
6BEGIN
7 {
8 $| = 1;
9 # to locate the testing files
10 my $location = $0; $location =~ s/bare_mbi.t//i;
11 print "loc $location\n";
12 if ($ENV{PERL_CORE})
13 {
14 # testing with the core distribution
15 @INC = qw(../t/lib);
16 }
17 unshift @INC, qw(../lib); # to locate the modules
18 if (-d 't')
19 {
20 chdir 't';
21 require File::Spec;
22 unshift @INC, File::Spec->catdir(File::Spec->updir, $location);
23 }
24 else
25 {
26 unshift @INC, $location;
27 }
28 print "# INC = @INC\n";
29
30 plan tests => 1865;
31 }
32
33use Math::BigInt lib => 'BareCalc';
34
35use vars qw ($class $try $x $y $f @args $ans $ans1 $ans1_str $setup $CL);
36$class = "Math::BigInt";
37$CL = "Math::BigInt::BareCalc";
38
39my $version = '1.48'; # for $VERSION tests, match current release (by hand!)
40
41require 'bigintpm.inc'; # perform same tests as bigintpm
42