public void ThenTheResultShouldBe(Table table) { IEnumerable<IGameMove> steps = table.ParseMoves(); var board = new GameBoard(); board.Restore(steps); TicTacToeScenarioContext.Board.Should().Match(board); }
public void GivenBoardIs(Table table) { IEnumerable<IGameMove> steps = table.ParseMoves().Where(x => x.GetType() != typeof(NoMove)); TicTacToeScenarioContext.Board.Restore(steps); }