Commits

Anonymous committed 225210d

Convert to _new_coords.

Comments (0)

Files changed (1)

nurikabe-solver/Games-Nurikabe-Solver/t/calc-vicinity.t

         my ($coords, $vicinity, $blurb) = @_;
 
         eq_or_diff(
-            [ map { $_->to_aref() } @{$board->_calc_vicinity(
-                    Games::Nurikabe::Solver::Coords->new($coords)
-                ) }
+            [ map { $_->to_aref() }
+                @{ $board->_calc_vicinity($board->_new_coords($coords)) }
             ],
             $vicinity,
             $blurb