Пример #1
0
 @Test
 public void testFindPath() {
   Node node = board.getNode(SUSPECTS[0], Direction.NORTH);
   assertFalse("Should not be a path", node.isPath());
   board.findPaths(SUSPECTS[0], 2);
   assertTrue("Should be a path", node.isPath());
   board.clearPaths();
   assertFalse("Should not be a path", node.isPath());
 }