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)
def test_get_rounds(self): ts = TournamentSystemEach(PLAYERS_LIST) self.assertEqual(list(ts.get_rounds()), ANSWER)