#17931 checked for wrong constant
[p5sagit/p5-mst-13.2.git] / lib / bignum / t / option_a.t
CommitLineData
126f3c5f 1#!/usr/bin/perl -w
2
3###############################################################################
4
5use Test;
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
18ok (Math::BigInt->accuracy(),12);
19ok (Math::BigFloat->accuracy(),12);
20
21bignum->import( accuracy => '23');
22
23ok (Math::BigInt->accuracy(),23);
24ok (Math::BigFloat->accuracy(),23);
25