public void Should_create_new_board() { var gamePreparer = new GamePreparer(); var board = gamePreparer.CreateAndPrepareBoard(); Assert.NotNull(board); }
public void Should_create_new_board_with_one_queen_on_position_0_4() { var gamePreparer = new GamePreparer(); var board = gamePreparer.CreateAndPrepareBoard(); var position = board.GetPieceOfPosition(0, 4); Assert.IsType <Queen>(position); }
public void Should_create_new_board_with_one_king_on_position_0_3() { var gamePreparer = new GamePreparer(); var board = gamePreparer.CreateAndPrepareBoard(); var position = board.GetPieceOfPosition(0, 3); Assert.IsType <King>(position); }
public void Should_create_new_board_with_two_black_horses_on_position(int positionX, int positionY) { var gamePreparer = new GamePreparer(); var board = gamePreparer.CreateAndPrepareBoard(); var position = board.GetPieceOfPosition(positionX, positionY); Assert.IsType <Horse>(position); }
public void Should_create_new_board_with_eight_black_chessPawns_on_position(int positionX, int positionY) { var gamePreparer = new GamePreparer(); var board = gamePreparer.CreateAndPrepareBoard(); var position = board.GetPieceOfPosition(positionX, positionY); Assert.IsType <ChessPawn>(position); }