This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fbadb068b9131f45b8a0595123bc4cbe337b378d
[perl5.git] / dist / bignum / t / bninfnan.t
1 #!/usr/bin/perl -w
2
3 ###############################################################################
4
5 use Test;
6 use strict;
7
8 BEGIN
9   {
10   $| = 1;
11   my $location = $0; $location =~ s/bninfnan.t//i;
12   if ($ENV{PERL_CORE})
13     {
14     #@INC = qw(../lib ../lib/bignum/t); # testing with the core distribution
15     }
16   else
17     {
18     unshift @INC, '../lib';     # for testing manually
19     }
20   if (-d 't')
21     {
22     chdir 't';
23     require File::Spec;
24     unshift @INC, File::Spec->catdir(File::Spec->updir, $location);
25     }
26   else
27     {
28     unshift @INC, $location;
29     }
30   print "# INC = @INC\n";
31   plan tests => 26;
32   }
33
34 use bignum;
35
36 my ($x);
37
38 require "infnan.inc";
39