summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/cpan/Math-BigInt/t/require.t
blob: 3c34db688543f2fe30ffaa3a566a5438dc93c47f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/perl

# check that simple requiring Math::BigInt works

use strict;
use warnings;

use Test::More tests => 1;

require Math::BigInt;

my $x = Math::BigInt->new(1);
++$x;

is($x, 2, '$x is 2');

# all tests done