public RoundBuilder(bool tonpuusen = false) { _gameState = new MahjongGame(tonpuusen); }
public int Renchan_Calculation(MahjongGame game) { return game.Renchan; }
public GameState FinishRound_ThrowsExceptionsForInvalidGameState(MahjongGame game) { game.FinishRound(new RoundResult()); return game.State; }
public int NextRound_UpdatesOyaCorrectly(MahjongGame game) { game.NextRound(); return game.Rounds.Last().Oya; }
public GameState FinishRound_ResultsInCorrectGameState(MahjongGame game) { game.FinishRound(new RoundResult{Winner = 0}); return game.State; }
public void NextRound_ThrowsExceptionsForInvalidGameState(MahjongGame game) { game.NextRound(); }
public int NextRound_AddsRoundCorrectly(MahjongGame game) { game.NextRound(); return game.Rounds.Count; }
public GameState GameState_ReturnsCorrectly(MahjongGame game) { return game.State; }
public int Oya_Calculation(MahjongGame game) { return game.Oya; }