public void ThirtyAll() { var tennis = new Tennis(); var score = tennis.Score(30, 30); Assert.AreEqual("Thirty All", score); }
public void ThirtyFifteen() { var tennis = new Tennis(); var score = tennis.Score(30, 15); Assert.AreEqual("Thirty Fifteen", score); }
public void LoveAll() { var tennis = new Tennis(); var score = tennis.Score(0, 0); Assert.AreEqual("Love All", score); }
public void LoveFifteen() { var tennis = new Tennis(); var score = tennis.Score(0, 15); Assert.AreEqual("Love Fifteen", score); }
public void FifteenThirty() { var tennis = new Tennis(); var score = tennis.Score(15, 30); Assert.AreEqual(15, 30); }
public void FifteenLove() { var tennis = new Tennis(); var score = tennis.Score(15, 0); Assert.AreEqual("Fifteen Love", score); }
public void FifteenAll() { var tennis = new Tennis(); tennis.Score(15, 15); }
private void ScoreShouldBe(string expected) { Assert.AreEqual(expected, _tennis.Score()); }
private void ScoreShouldBe(string expectedScore) { var score = _tennis.Score(); Assert.AreEqual(expectedScore, score); }