1#!perl
2
3# Test use Math::BigFloat with => 'Math::BigInt::SomeSubclass';
4
5use strict;
6use warnings;
7
8use Test::More tests => 2482            # tests in require'd file
9                         + 1;           # tests in this file
10
11use Math::BigFloat with => 'Math::BigInt::Subclass',
12                   lib  => 'Calc';
13
14our ($CLASS, $CALC);
15$CLASS = "Math::BigFloat";
16$CALC  = "Math::BigInt::Calc";          # backend
17
18# the "with" argument should be ignored
19is(Math::BigFloat->config()->{with}, 'Math::BigInt::Calc',
20   "Math::BigFloat->config()->{with}");
21
22require 't/bigfltpm.inc';	# all tests here for sharing
23