예제 #1
0
 def test_get_table(self):
     #For newline
     print()
     ts = TournamentSystemEach(PLAYERS_LIST)
     ts.add_round_results(RESULTS)
     table = ts.get_table()
     for string in table:
         print(string)
예제 #2
0
 def test_get_rounds(self):
     ts = TournamentSystemEach(PLAYERS_LIST)
     self.assertEqual(list(ts.get_rounds()), ANSWER)