Beispiel #1
0
        public void AGetSecondPointScoreShouldBe30_Love()
        {
            var game = new Tennis();

            game.AGetPoint();
            game.AGetPoint();
            var score = game.Score();

            Assert.Equal("30-LOVE", score);
        }
Beispiel #2
0
        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);
        }
Beispiel #3
0
        public void AGetFirstPointScoreShouldBe15_Love()
        {
            var game = new Tennis();

            game.AGetPoint();
            var score = game.Score();

            Assert.Equal("15-LOVE", score);
        }