public void EvaluateSecondColumnWithXsAndT() { Board board = new Board(".XO..XT..TX..XO."); Assert.AreEqual(Status.XWon, board.Evaluate()); }
public void EvaluateSecondDiagonalWithOsAndT() { Board board = new Board("...O..T..O..O..."); Assert.AreEqual(Status.OWon, board.Evaluate()); }
public void EvaluateFirstRowWithXsAndT() { Board board = new Board("XTXX"); Assert.AreEqual(Status.XWon, board.Evaluate()); }
public void EvaluateFourthColumnWithOs() { Board board = new Board("...O...O...O...O"); Assert.AreEqual(Status.OWon, board.Evaluate()); }
public void EvaluateFirstDiagonalWithXsAndT() { Board board = new Board("X....X....T....X"); Assert.AreEqual(Status.XWon, board.Evaluate()); }
public void EvaluateFirstRowWithOs() { Board board = new Board("OOOO"); Assert.AreEqual(Status.OWon, board.Evaluate()); }
public void EvaluateEmptyBoard() { Board board = new Board(); Assert.AreEqual(Status.NotCompleted, board.Evaluate()); }
public void FullBoard() { Board board = new Board("XOXTXXOOOXOXXXOO"); Assert.AreEqual(Status.Draw, board.Evaluate()); }
public void EvaluateThreeOs() { Board board = new Board("...O...O...O...."); Assert.AreEqual(Status.NotCompleted, board.Evaluate()); }
public void EvaluateSecondRowWithXs() { Board board = new Board("....XXXX"); Assert.AreEqual(Status.XWon, board.Evaluate()); }
public void EvaluateSecondRowWithOsAndT() { Board board = new Board("....OTOO"); Assert.AreEqual(Status.OWon, board.Evaluate()); }