a bit more eye-friendly formatting
[acme-study-perl.git] / t / studyperl.t
blob7cc4f49d9ecc5fe1f98b5baf869efae32f60f3ac
1 #!perl -T
3 use strict;
4 use warnings;
5 use Test::More qw(no_plan);
6 use Acme::Study::Perl qw(studyperl);
8 SKIP: {
9     diag("no tests in this file, only diagnostics");
10     skip;
13 diag("\n");
14 my @tests =
15     (
16      [q{'123456789123456789.2' <=> '123456789123456790'},
17       "native big math float/int"],
18      [q{'123456789123456789.2' <=> '123456789123456790.0'},
19       "native big math float/float"],
20      [q{'123456789123456789' <=> '123456789123456790'},
21       "native big math int/int 18"],
22      [q{'123456789123456789123456789123456789' <=> '123456789123456789123456789123456790'},
23       "native big math int/int 36"],
24     );
25 for my $t (@tests) {
26     studyperl(@$t);