xref: /openbsd-src/gnu/usr.bin/perl/cpan/bignum/t/backend-pari-bigrat.t (revision 256a93a44f36679bee503f12e49566c2183f6181)
1# -*- mode: perl; -*-
2
3use strict;
4use warnings;
5
6use Test::More;
7
8BEGIN {
9    eval { require Math::BigInt::Pari; };
10    if ($@) {
11        plan skip_all => "Math::BigInt::Pari not installed";
12    } else {
13        plan tests => "1";
14    }
15}
16
17use bigrat only => "Pari";
18
19my $x = 1;
20is($x -> config("lib"), "Math::BigInt::Pari",
21   "backend is Math::BigInt::Pari");
22