コード例 #1
0
 def test_get_score(self, p1Points, p2Points, score, p1Name, p2Name):
     game = play_game(p1Points, p2Points, p1Name, p2Name)
     assert score == game.score()
コード例 #2
0
 def test_get_score_game3(self, p1Points, p2Points, score, p1Name, p2Name):
     game = play_game(TennisGame3, p1Points, p2Points, p1Name, p2Name)
     assert score == game.score()
コード例 #3
0
 def test_get_score(self, p1Points, p2Points, score, p1Name, p2Name):
     game = play_game(p1Points, p2Points, p1Name, p2Name)
     assert score == game.score()