public void Test_IsFull_Full1_CurrectResult() { logic = new TicTacToeLogic(); MakeFullOutsideCell(0, 0); MakeFullOutsideCell(1, 1); MakeFullOutsideCell(2, 2); MakeTeamWonInOneCellDiag(0, 1, 1); MakeTeamWonInOneCellDiag(0, 2, 1); MakeTeamWonInOneCellDiag(1, 2, 2); MakeTeamWonInOneCellDiag(1, 0, 2); MakeTeamWonInOneCellDiag(2, 0, 1); MakeTeamWonInOneCellDiag(2, 1, 1); Assert.IsTrue(logic.IsFull()); }
public void Test_IsFull_NotFull2_CurrectResult() { logic = new TicTacToeLogic(); MakeFullOutsideCell(0, 0); MakeFullOutsideCell(1, 1); MakeFullOutsideCell(2, 2); Assert.IsFalse(logic.IsFull()); }
public void Test_IsFull_NotFull1_CurrectResult() { logic = new TicTacToeLogic(); Assert.IsFalse(logic.IsFull()); }