File Coverage

blib/lib/Games/ABC_Path/Solver/Move/LettersNotInVicinity.pm
Criterion Covered Total %
statement 9 10 90.0
branch n/a
condition n/a
subroutine 3 4 75.0
pod n/a
total 12 14 85.7


line stmt bran cond sub pod time code
1             package Games::ABC_Path::Solver::Move::LettersNotInVicinity;
2             $Games::ABC_Path::Solver::Move::LettersNotInVicinity::VERSION = '0.6.0';
3 2     2   12 use strict;
  2         4  
  2         48  
4 2     2   11 use warnings;
  2         4  
  2         49  
5              
6 2     2   10 use parent 'Games::ABC_Path::Solver::Move';
  2         5  
  2         10  
7              
8              
9             sub _format {
10 0     0     return "%(target){letter} cannot be at %(coords){coords} due to lack of vicinity from %(source){letter}.";
11             }
12              
13              
14             1;
15              
16             __END__