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.016';
4             our $AUTHORITY = 'cpan:TOBYINK';
5              
6 2     2   575457 use Acme::Mitey::Cards::Suit;
  2         6  
  2         70  
7 2     2   933 use Acme::Mitey::Cards::Card;
  2         5  
  2         59  
8 2     2   979 use Acme::Mitey::Cards::Card::Numeric;
  2         5  
  2         57  
9 2     2   890 use Acme::Mitey::Cards::Card::Face;
  2         6  
  2         55  
10 2     2   906 use Acme::Mitey::Cards::Card::Joker;
  2         5  
  2         55  
11 2     2   902 use Acme::Mitey::Cards::Set;
  2         6  
  2         53  
12 2     2   901 use Acme::Mitey::Cards::Deck;
  2         5  
  2         56  
13 2     2   17 use Acme::Mitey::Cards::Hand;
  2         4  
  2         79  
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.