Move Math::BigInt from ext/ to cpan/
[p5sagit/p5-mst-13.2.git] / cpan / Math-BigInt / t / bare_mbf.t
CommitLineData
b3abae2a 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_mbf.t//i;
7b29e1e6 11 print "# $0\n";
b3abae2a 12 if ($ENV{PERL_CORE})
13 {
14 # testing with the core distribution
15 @INC = qw(../t/lib);
16 }
17 unshift @INC, '../lib';
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
0dceeee6 30 plan tests => 2308;
b3abae2a 31 }
32
56b9c951 33use Math::BigFloat lib => 'BareCalc';
b3abae2a 34
35use vars qw ($class $try $x $y $f @args $ans $ans1 $ans1_str $setup $CL);
36$class = "Math::BigFloat";
37$CL = "Math::BigInt::BareCalc";
38
39require 'bigfltpm.inc'; # all tests here for sharing