public void CheckGame2() { using (new GoldenMasterTest()) { var game = new TennisGame2("player1", "player2"); RealisticTennisGame(game); } }
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); } }
public void CheckTennisGame2(int player1Score, int player2Score, string expectedScore) { _expectedScore = expectedScore; _player2Score = player2Score; _player1Score = player1Score; var game = new TennisGame2("player1", "player2"); CheckAllScores(game); }
public void Tennis2Test(int p1, int p2, string expected) { var game = new TennisGame2("player1", "player2"); CheckAllScores(game, p1, p2, expected); }
public void checkTennisGame2() { TennisGame2 game = new TennisGame2("player1", "player2"); checkAllScores(game); }
public void CheckGame2() { TennisGame2 game = new TennisGame2("player1", "player2"); RealisticTennisGame(game); }