public void Othello_InitGame_GetGameTable() { Othello othello = new Othello(); CaseState[,] gameState = othello.GetGameState(); Assert.AreEqual(gameState.GetLength(0), 8); Assert.AreEqual(gameState.GetLength(1), 8); }
public void Othello_InitGame_VerifyPositionOfFirstPieces() { Othello othello = new Othello(); CaseState[,] gameState = othello.GetGameState(); Assert.AreEqual(gameState[4, 4], CaseState.Black); Assert.AreEqual(gameState[4, 5], CaseState.White); Assert.AreEqual(gameState[5, 4], CaseState.White); Assert.AreEqual(gameState[5, 5], CaseState.Black); }