public void ItIsAWinWhenOnePlayerHasThreeMarksInARowHorizontallyVerticalyOrDiagonally(string boardState) { var board = TestableBoard.Create(boardState); _game = new Game(_player1, _player2, board); _game.IsThereAWin().Should().BeTrue(); }
public void WhenAllPositionsAreTakenBoardIsReportedToBeFull(string boardState) { _board = TestableBoard.Create(boardState); _board.IsBoardFull().Should().BeTrue(); }