public Game() { Player1 = new Player(); Player2= new Player(); GameIsComplete = false; _scorer = new Scorer(); }
public void GetScore_WithZeroPoints_ReturnsLoveLove() { Scorer scorer = new Scorer(); Assert.AreEqual("love - love", scorer.GetScore(0, 0)); }
public void GetPlayerScore_WithValidPoints_ReturnsCorrectScore(int playerPoints, string expected) { Scorer scorer = new Scorer(); Assert.AreEqual(expected, scorer.GetPlayerScore(playerPoints)); }