Acme-24

 view release on metacpan or  search on metacpan

t/rt_72808.t  view on Meta::CPAN


Check that RT#72808 is actually fixed.
Should return 24 facts, not 25.

=cut

use strict;
use warnings;
use Acme::24;
use Test::More tests => 1;
use Data::Dumper;

my $facts = Acme::24->random_jackbauer_facts();

ok(
    $facts
    && (ref $facts eq 'ARRAY')
    && @{ $facts } == 24,
    'Got 24 facts, not 25, dammit!'
);

#diag(Data::Dumper::Dumper($facts));
#diag("Got " . scalar(@{$facts}) . " facts");



( run in 0.227 second using v1.01-cache-2.11-cpan-4d50c553e7e )