Renaming of some of Pod::Simple's test files to make it more 8.3
[p5sagit/p5-mst-13.2.git] / lib / bignum / t / option_a.t
CommitLineData
126f3c5f 1#!/usr/bin/perl -w
2
3###############################################################################
4
b68b7ab1 5use Test::More;
126f3c5f 6use strict;
7
8BEGIN
9 {
10 $| = 1;
11 chdir 't' if -d 't';
12 unshift @INC, '../lib';
13 plan tests => 4;
14 }
15
16use bignum a => '12';
17
b68b7ab1 18my @C = qw/Math::BigInt Math::BigFloat/;
19
20foreach my $c (@C)
21 {
22 is ($c->accuracy(),12, "$c accuracy = 12");
23 }
126f3c5f 24
25bignum->import( accuracy => '23');
26
b68b7ab1 27foreach my $c (@C)
28 {
29 is ($c->accuracy(), 23, "$c accuracy = 23");
30 }
126f3c5f 31