public void MoveTest9() { Board board = new Board(); Draught dr = null; board.Move(dr, new BoardPoint(3, 2)); }
public void MoveTest7() { Board target = new Board(); BoardPoint oldPoint = new BoardPoint(2, 3); Draught draught = target[oldPoint]; BoardPoint newPoint = new BoardPoint(3, 4); target.Move(draught, newPoint); Assert.AreEqual<Draught>(draught, target[newPoint]); }
public void MoveTest8() { Board board = new Board(); Draught dr = board[2, 1]; BoardPoint point = new BoardPoint(3, 2); board.Move(dr, point); Assert.AreEqual(board[point], dr); }
public void MoveTest6() { Board target = new Board(); int newX = 3; int newY = 2; target.Move(null, newX, newY); }
public void MoveTest5() { Board target = new Board(); int oldX = 2; int oldY = 1; int newX = 3; int newY = 2; target.Move(oldX, oldY, newX, newY); }
public void MoveTest4() { Board target = new Board(); int oldX = 3; int oldY = 2; target[oldY, oldX] = null; int newX = 4; int newY = 3; target.Move(oldX, oldY, newX, newY); }
public void MoveTest3() { Board target = new Board(); int oldX = 3; int oldY = 2; Draught draught = target[oldY, oldX]; int newX = 4; int newY = 4; target.Move(oldX, oldY, newX, newY); }
public void MoveTest1() { Board target = new Board(); int oldX = 3; int oldY = 2; Draught draught = target[oldY, oldX]; int newX = 4; int newY = 3; target.Move(draught, newX, newY); Assert.AreEqual<Draught>(draught, target[newY, newX]); }