summaryrefslogtreecommitdiff
path: root/cpan/Math-BigRat/t/requirer.t
blob: 6788783a290834d0712b04330dc5c3ec67a357ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!perl

# check that simple requiring BigRat works

use strict;
use warnings;

use Test::More tests => 1;

my ($x);

require Math::BigRat;
$x = Math::BigRat->new(1);
++$x;

is($x, 2, '$x got successfully modified');

# all tests done