public void CanGetScore15A() { Game game = new Game(); game.WinBall(2); game.WinBall(1); string score = game.Score; Assert.Equal("15/A", score); }
public void CanGetScoreWhenPlayer1Wins2Balls() { Game game = new Game(); game.WinBall(1); game.WinBall(1); string score = game.Score; Assert.Equal("30/0", score); }
public void CanGetScoreWhenPlayer1WinsBallIfPlayer2HasAlreadyWonTwoBalls() { Game game = new Game(); game.WinBall(2); game.WinBall(2); game.WinBall(1); string score = game.Score; Assert.Equal("15/30", score); }
public void CanGetScoreAfterPlayer1AndPlayer2WinsBall() { Game game = new Game(); game.WinBall(2); game.WinBall(1); game.WinBall(2); string score = game.Score; Assert.Equal("15/30", score); }
public void CanGetScoreWhenPlayersHaveDeuce() { Game game = new Game(); game.WinBall(2); game.WinBall(2); game.WinBall(1); game.WinBall(1); game.WinBall(2); game.WinBall(1); string score = game.Score; Assert.Equal("DEUCE", score); }