public void ReturnNaughtPlayerAsWinnerWithDiagonal() { var winChecker = new WinChecker(); Assert.IsTrue(winChecker.HasPlayerWon( new[] { _, _, O, _, O, _, O, _, _ }, PlayerGlyph.Naught)); }
public void ReturnCrossPlayerAsWinnerWithDiagonal() { var winChecker = new WinChecker(); Assert.IsTrue(winChecker.HasPlayerWon( new[] { X, _, _, _, X, _, _, _, X }, PlayerGlyph.Cross)); }