public void InitialGameScoreShouldBeLoveLove() { var game = new Tennis(); var score = game.Score(); Assert.Equal("LOVE-LOVE", score); }
public void BGetFirstPointScoreShouldBeLove_15() { var game = new Tennis(); game.BGetPoint(); var score = game.Score(); Assert.Equal("LOVE-15", score); }
public void AGetFirstPointScoreShouldBe15_Love() { var game = new Tennis(); game.AGetPoint(); var score = game.Score(); Assert.Equal("15-LOVE", score); }
public void AGetSecondPointScoreShouldBe30_Love() { var game = new Tennis(); game.AGetPoint(); game.AGetPoint(); var score = game.Score(); Assert.Equal("30-LOVE", score); }
public void AGetForthPointScoreShouldBeWinForA() { var game = new Tennis(); game.AGetPoint(); game.AGetPoint(); game.AGetPoint(); game.AGetPoint(); var score = game.Score(); Assert.Equal("WIN FOR A", score); }
public TennisTests() { _tennis = new Tennis("Joey", "John"); }