File Coverage

blib/lib/Acme/Mitey/Cards.pm
Criterion Covered Total %
statement 24 24 100.0
branch n/a
condition n/a
subroutine 8 8 100.0
pod n/a
total 32 32 100.0


line stmt bran cond sub pod time code
1             package Acme::Mitey::Cards;
2              
3             our $VERSION = '0.017';
4             our $AUTHORITY = 'cpan:TOBYINK';
5              
6 2     2   929771 use Acme::Mitey::Cards::Suit;
  2         12  
  2         99  
7 2     2   4746 use Acme::Mitey::Cards::Card;
  2         11  
  2         121  
8 2     2   1541 use Acme::Mitey::Cards::Card::Numeric;
  2         10  
  2         113  
9 2     2   1475 use Acme::Mitey::Cards::Card::Face;
  2         11  
  2         95  
10 2     2   1431 use Acme::Mitey::Cards::Card::Joker;
  2         8  
  2         124  
11 2     2   1314 use Acme::Mitey::Cards::Set;
  2         11  
  2         101  
12 2     2   1559 use Acme::Mitey::Cards::Deck;
  2         11  
  2         111  
13 2     2   17 use Acme::Mitey::Cards::Hand;
  2         5  
  2         114  
14              
15             1;
16              
17             __END__
18              
19             =pod
20              
21             =encoding utf-8
22              
23             =head1 NAME
24              
25             Acme::Mitey::Cards - demo of Mite
26              
27             =head1 SYNOPSIS
28              
29             use Acme::Mitey::Cards;
30            
31             my $deck = Acme::Mitey::Cards::Deck->new->shuffle;
32             my $hand = $deck->deal_hand( owner => 'Bob' );
33             print $hand->to_string, "\n";
34              
35             =head1 DESCRIPTION
36              
37             This is a small distribution to test/demonstrate L<Mite>.
38              
39             It's an object-oriented library for modelling playing cards.
40              
41             =head1 BUGS
42              
43             Please report any bugs to
44             L<https://github.com/tobyink/p5-mite/issues>.
45              
46             =head1 SEE ALSO
47              
48             L<Mite>.
49              
50             =head1 AUTHOR
51              
52             Toby Inkster E<lt>tobyink@cpan.orgE<gt>.
53              
54             =head1 COPYRIGHT AND LICENCE
55              
56             This software is copyright (c) 2022 by Toby Inkster.
57              
58             This is free software; you can redistribute it and/or modify it under
59             the same terms as the Perl 5 programming language system itself.
60              
61             =head1 DISCLAIMER OF WARRANTIES
62              
63             THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
64             WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
65             MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.