public void There_Should_Be_No_Winner__Turn() { var checker = new TicTacToeHorizontalChecker(); var spaces = GetGameSpaces(); var actual = checker.CheckWinner(TicTacToeEnum._, spaces); actual.ShouldBeFalse(); }
public void There_Should_Be_Winner_O_Bottom() { var checker = new TicTacToeHorizontalChecker(); var spaces = GetGameSpaces(); spaces[2, 0].Select(TicTacToeEnum.O); spaces[2, 1].Select(TicTacToeEnum.O); spaces[2, 2].Select(TicTacToeEnum.O); var actual = checker.CheckWinner(TicTacToeEnum.O, spaces); actual.ShouldBeTrue(); }
public void It_Should_Create_A_New_Checker() { var actual = new TicTacToeHorizontalChecker(); actual.ShouldNotBeNull(); }