File Coverage

blib/lib/Games/2048/Tile.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Games::2048::Tile;
2 4     4   94 use 5.012;
  4         12  
  4         148  
3 4     4   19 use Moo;
  4         5  
  4         29  
4              
5             has value => is => 'rw', default => 2;
6             has merged => is => 'rw', default => 0;
7              
8             # for animation
9             has appearing => is => 'rw', default => 0;
10             has merging_tiles => is => 'rw';
11             has moving_from => is => 'rw';
12              
13             1;