public void ReplacePlayerWhenPlayAgainTest( [Frozen] Game game, ReplacePlayerGameAction sut) { game.PlayAgainTurns = 1; sut.Execute(1); Assert.Equal(PlayerMode.FirstPlayer, game.PlayerMode); }
public void ReplacePlayerTest( [Frozen] Game game, ReplacePlayerGameAction sut) { game.PlayAgainTurns = 0; sut.Execute(1); Assert.Equal(PlayerMode.SecondPlayer, game.PlayerMode); }