1# -*- mode: perl; -*-
2
3use strict;
4use warnings;
5use lib 't';
6
7use Test::More tests => 1;
8
9my ($x, $expected, $try);
10
11my $class = 'Math::BigInt';
12
13# test whether Math::BigInt::Scalar via use works (w/ dff. spellings of calc)
14
15$try = qq|use $class 0, "lib" => "Scalar";|
16     . q| $x = 2**10; $x = "$x";|;
17$expected = eval $try;
18is($expected, "1024", $try);
19