This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Upgrade Math::BigRat from version 0.25 to 0.26
[perl5.git] / cpan / Math-BigRat / t / requirer.t
CommitLineData
990fb837
RGS
1#!/usr/bin/perl -w
2
3# check that simple requiring BigRat works
4
5use strict;
c32198f6 6use Test::More tests => 1;
990fb837
RGS
7
8my ($x);
9
10require Math::BigRat; $x = Math::BigRat->new(1); ++$x;
11
233f7bc0 12is ($x, 2, '$x got successfully modified');
990fb837
RGS
13
14# all tests done
15