public void GetCurrentSquareTest_CreatePieceAndMoveThenGetCurrentSquare_CheckThatPositionIs3() { GameBoard board = new GameBoard(); Player player = new Player("Testman", "Red"); player.AddGamePieces(); int boardNumber = 3; player.GamePieces[1].BoardSquareNumber = boardNumber; board.AddGamePiecesToBoard(player.GamePieces[1]); var result = board.GetCurrentSquare(player.GamePieces[1]); Assert.AreEqual(board.Board[boardNumber], result); }