def test_two_pair(self): poker = Poker() poker.new_game(('S2', 'D2', 'H3', 'C3', 'C5')) assert poker.two_pair() == (2, 3) poker.new_game(('SA', 'D2', 'H3', 'C3', 'C5')) assert poker.two_pair() is None
def test_two_pair(self): poker = Poker() poker.new_game(("S2", "D2", "H3", "C3", "C5")) assert poker.two_pair() == (2, 3) poker.new_game(("SA", "D2", "H3", "C3", "C5")) assert poker.two_pair() is None