cpan Math-BigInt 1.9997_11

latest releases: 2.003003, 2.003002, 2.003001...
pre-release8 years ago

This release introduces no changes in the library code, i.e., the .pm files in
the 'lib' directory, but there are a lot of changes in the test files. Since
there are so many changes, I let this be a development release.

  • Add 'use strict;' and 'use warnings;' to all test files.

  • Reformat code in the test files according to the "perlstyle" manual page.
    This makes the code a lot easier to read -- for me, anyway.

  • Decrement required version of Perl from v5.6.2 to v5.6.1. All tests pass
    when running the test suite with Perl 5.6.1 on Cygwin.

  • Replace "use vars ..." with "our ..." in test files.

  • Replace "BEGIN { unshift @INC, 't'; }" with "use lib 't';" in test files.

  • Use "our $x; $x = ...;" rather than "our $x = ...;" since the latter causes
    Perl 5.6.1 to complain about variables only used once.

  • Add comment to all tests. Now the tests no longer says just "ok 123", but
    rather "ok 123 - $x->blog(2)" etc. This makes it easier to identify failed
    tests, especially in the smoke testing reports.

  • Fix various flawed tests, e.g., ok($x, 2) was used testing whether $x was 2.

  • Use the skip() feature of Test::More for skipping tests.

  • Use more descriptive variable names in test files.

  • Remove unused variables in test files.

  • Move variable declarations to limit their scope in test files.

  • Remove trailing whitespace in test files.

  • Wrap (most) lines to fit 80 columns in test files.

Don't miss a new Math-BigInt release

NewReleases is sending notifications on new releases.