summaryrefslogtreecommitdiff
path: root/dist/Math-BigInt/t/with_sub.t
blob: 97cabab5d2ecd0a99df84fff23ed0688088d88b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/perl -w

# Test use Math::BigFloat with => 'Math::BigInt::SomeSubclass';

use strict;
use Test::More tests => 2320 + 1;

use Math::BigFloat with => 'Math::BigInt::Subclass', lib => 'Calc';

use vars qw ($class $try $x $y $f @args $ans $ans1 $ans1_str $setup $CL);
$class = "Math::BigFloat";
$CL = "Math::BigInt::Calc";

# the with argument is ignored
is (Math::BigFloat->config()->{with}, 'Math::BigInt::Calc');

require 't/bigfltpm.inc';	# all tests here for sharing