Пример #1
0
 public void CheckGame2()
 {
     using (new GoldenMasterTest())
     {
         var game = new TennisGame2("player1", "player2");
         RealisticTennisGame(game);
     }
 }
Пример #2
0
 public void CheckTennisGame2()
 {
     foreach (var score in this.allScores)
     {
         var game = new TennisGame2("player1", "player2");
         CheckScore(game, score);
     }
 }
 public void CheckTennisGame2()
 {
     using (new GoldenMasterTest(CurrentTestName))
     {
         var game = new TennisGame2("player1", "player2");
         CheckAllScores(game);
     }
 }
Пример #4
0
        public void CheckTennisGame2(int player1Score, int player2Score, string expectedScore)
        {
            _expectedScore = expectedScore;
            _player2Score  = player2Score;
            _player1Score  = player1Score;
            var game = new TennisGame2("player1", "player2");

            CheckAllScores(game);
        }
Пример #5
0
        public void Tennis2Test(int p1, int p2, string expected)
        {
            var game = new TennisGame2("player1", "player2");

            CheckAllScores(game, p1, p2, expected);
        }
Пример #6
0
        public void checkTennisGame2()
        {
            TennisGame2 game = new TennisGame2("player1", "player2");

            checkAllScores(game);
        }
Пример #7
0
        public void CheckGame2()
        {
            TennisGame2 game = new TennisGame2("player1", "player2");

            RealisticTennisGame(game);
        }
Пример #8
0
 public void CheckGame2()
 {
     TennisGame2 game = new TennisGame2("player1", "player2");
     RealisticTennisGame(game);
 }
Пример #9
0
 public void checkTennisGame2()
 {
     TennisGame2 game = new TennisGame2("player1", "player2");
     checkAllScores(game);
 }