Commits

Anonymous committed 0bebb06

Added more tests.

  • Participants
  • Parent commits 6af6ef3

Comments (0)

Files changed (1)

File modules/Shlomif-Sokoban-Solver/t/01-loading.t

 use strict;
 use warnings;
 
-use Test::More tests => 3;
+use Test::More tests => 7;
 
 use Shlomif::Sokoban::Solver::Board;
 
 
     # TEST
     ok ($board->is_wall(2, 0), "Testing if 2,0 is a wall");
+    # TEST
+    ok ($board->is_wall(3, 0), "3,0 is a wall");
+    # TEST
+    ok ($board->is_wall(5, 0), "5,0 is a wall");
+    # TEST
+    ok (!$board->is_wall(6, 0), "6,0 is not a wall");
+    # TEST
+    ok (!$board->is_wall(3, 1), "3,1 is not a wall");
 }