public void SetAdvantage() { TennisGame game = new TennisGame("Name_1", "Name_2"); game.SetAdvantage(1); Assert.IsTrue(game.Advantage() == game.Player_1().Name()); }
public void ClearAdvantage() { TennisGame game = new TennisGame("Name_1", "Name_2"); game.SetAdvantage(2); game.ClearAdvantage(); Assert.IsTrue(game.Advantage() == "Nothing"); }