diff options
Diffstat (limited to 'dist/Math-BigInt/t/mbf_ali.t')
-rw-r--r-- | dist/Math-BigInt/t/mbf_ali.t | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dist/Math-BigInt/t/mbf_ali.t b/dist/Math-BigInt/t/mbf_ali.t new file mode 100644 index 0000000000..71e4b1383a --- /dev/null +++ b/dist/Math-BigInt/t/mbf_ali.t @@ -0,0 +1,37 @@ +#!/usr/bin/perl -w + +# test that the new alias names work + +use Test::More; +use strict; + +BEGIN + { + $| = 1; + # to locate the testing files + my $location = $0; $location =~ s/mbf_ali.t//i; + unshift @INC, qw(../lib); + 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 => 6; + } + +use Math::BigFloat; + +use vars qw/$x $CL/; + +$CL = 'Math::BigFloat'; + +require 'alias.inc'; + + |