Program: 84448
Project: 84448
Buggy source:
/** 
 * Test method for   {@link Board#isValidSlide(Team,int,int,int,int)}.
 */
@Test public void testIsValidSlide(){
  board.clear();
  board.insert(SCConst.TEAM1,2,2);
  int row=2;
  int col=2;
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col - 1));
  assertEquals(true,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col - 2));
  assertEquals(true,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col - 0));
  assertEquals(true,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col - 1));
  assertEquals(true,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col + 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col - 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col - 0));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col + 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col - 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col - 0));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col + 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col - 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col - 0));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col + 2));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col - 2));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col - 0));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col + 2));
  row=5;
  col=5;
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col + 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col - 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col - 0));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col + 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col - 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col - 0));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col + 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col - 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col - 0));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col + 2));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col - 2));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col - 0));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col + 2));
  row=2;
  col=2;
  board.insert(SCConst.TEAM1,row - 1,col);
  board.insert(SCConst.TEAM1,row,col - 1);
  board.insert(SCConst.TEAM1,row,col + 1);
  board.insert(SCConst.TEAM1,row + 1,col);
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col));
  assertEquals(false,board.isValidSlide(null,row,col,row,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col));
  board.insert(SCConst.TEAM2,row - 1,col);
  board.insert(SCConst.TEAM2,row,col - 1);
  board.insert(SCConst.TEAM2,row,col + 1);
  board.insert(SCConst.TEAM2,row + 1,col);
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col));
  assertEquals(false,board.isValidSlide(null,row,col,row,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col));
}

Fixed version (ground truth):
/** 
 * Test method for   {@link Board#isValidSlide(Team,int,int,int,int)}.
 */
@Test public void testIsValidSlide(){
  board.clear();
  board.insert(SCConst.TEAM1,2,2);
  int row=2;
  int col=2;
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col - 1));
  assertEquals(true,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col - 2));
  assertEquals(true,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col - 0));
  assertEquals(true,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col - 1));
  assertEquals(true,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col + 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col - 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col - 0));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col + 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col - 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col - 0));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col + 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col - 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col - 0));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col + 2));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col - 2));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col - 0));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col + 2));
  row=5;
  col=5;
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 2,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 0,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 2,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 0,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 2,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 0,col + 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col - 2));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col - 0));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col + 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col - 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col - 0));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 2,col + 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col - 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col - 0));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col + 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col - 2));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col - 0));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row - 0,col + 2));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col - 2));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col - 0));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col + 2));
  row=2;
  col=2;
  board.insert(SCConst.TEAM1,row - 1,col);
  board.insert(SCConst.TEAM1,row,col - 1);
  board.insert(SCConst.TEAM1,row,col + 1);
  board.insert(SCConst.TEAM1,row + 1,col);
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col));
  assertEquals(false,board.isValidSlide(null,row,col,row,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col));
  board.insert(SCConst.TEAM2,row - 1,col);
  board.insert(SCConst.TEAM2,row,col - 1);
  board.insert(SCConst.TEAM2,row,col + 1);
  board.insert(SCConst.TEAM2,row + 1,col);
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row - 1,col));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM1,row,col,row + 1,col));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row - 1,col));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.TEAM2,row,col,row + 1,col));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row - 1,col));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row,col - 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row,col + 1));
  assertEquals(false,board.isValidSlide(SCConst.EMPTY,row,col,row + 1,col));
  assertEquals(false,board.isValidSlide(null,row,col,row - 1,col));
  assertEquals(false,board.isValidSlide(null,row,col,row,col - 1));
  assertEquals(false,board.isValidSlide(null,row,col,row,col + 1));
  assertEquals(false,board.isValidSlide(null,row,col,row + 1,col));
}