public void WonPoint(string playerName)
{
if (playerName == "player1")
m_score1 += 1;
else
m_score2 += 1;
}
public void ScoresAreAddedToCorrectPlayer() { TennisGame1 game = new TennisGame1("Gino", "Simon", ScoreType.WithAd); game.WonPoint("Gino"); game.WonPoint("Simon"); Assert.AreEqual("Fifteen-All", game.GetScore()); }