Cross Reference: bigintpm.t
xref
: /
osnet-11
/
usr
/
src
/
cmd
/
perl
/
5.8.4
/
distrib
/
lib
/
Math
/
BigInt
/
t
/
bigintpm.t
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
#!/
usr
/
bin
/
perl
-w
use
Test
;
use
strict
;
BEGIN
{
$| =
1
;
unshift
@
INC
,
'../lib'
;
# for running manually
my
$location
= $
0
;
$location
=~
s
/
bigintpm.t
//;
unshift
@
INC
,
$location
;
# to locate the testing files
chdir
't'
if
-d
't'
;
plan
tests
=>
2832
;
}
use
Math
::
BigInt
;
use
vars
qw
(
$scale
$class
$try
$x $y $f @
args
$ans
$ans1
$ans1_str
$setup
$CL
)
;
$class
=
"Math::BigInt"
;
$CL
=
"Math::BigInt::Calc"
;
require
'
bigintpm.inc
'
;
# all tests here for sharing