Commits

shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b  committed 225210d

Convert to _new_coords.

  • Participants
  • Parent commits 34014d8

Comments (0)

Files changed (1)

File 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