File: req_mbfi.t

package info (click to toggle)
libmath-bigint-perl 1.999808-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,788 kB
  • ctags: 404
  • sloc: perl: 41,803; pascal: 5,184; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 243 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/perl

# check that simple requiring Math::BigFloat and then binf() works

use strict;
use warnings;

use Test::More tests => 1;

require Math::BigFloat;

my $x = Math::BigFloat->binf();
is($x, 'inf', '$x is inf');

# all tests done