blob: 4e2fadb9696c3a3766287a25acd541c3f25cb8c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# -*- mode: 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
|