Beispiel #1
0
        public void TestFirstPlayerScore()
        {
            TennisGame game = new TennisGame("player1", "player2");

            game.FirstPlayerScore();
            int score = game.GetFirstPlaterScore();

            Assert.AreEqual(score, 1);
            game.FirstPlayerScore();
            score = game.GetFirstPlaterScore();
            Assert.AreEqual(score, 2);
        }