The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict;
use warnings;
use Test::More;
use Cwd;

my $ALSO_PRIVATE = [ ];

my $chdir = 0;  # for when tests are run from t/
if ( cwd() =~ m/t$/ ) {
    chdir '..';
    $chdir++;
}

eval { require Test::Pod::Coverage; };

if ($@) {
   plan skip_all => 'Test::Pod::Coverage not available';
} else {
   Test::Pod::Coverage->import();
   all_pod_coverage_ok( { package => 'Math::Random::MT::Perl',
                          also_private => $ALSO_PRIVATE } );
}

chdir 't' if $chdir;  # back to t/

done_testing();