1# -*- mode: perl; -*- 2 3use strict; 4use warnings; 5 6use Test::More; 7 8BEGIN { 9 eval { require Math::BigInt::GMP; }; 10 if ($@) { 11 plan skip_all => "Math::BigInt::GMP not installed"; 12 } else { 13 plan tests => "1"; 14 } 15} 16 17use bignum only => "GMP"; 18 19my $x = 1; 20is($x -> config("lib"), "Math::BigInt::GMP", 21 "backend is Math::BigInt::GMP"); 22