def test_3_of_a_kind_false(self): self.assertFalse(is_three_of_a_kind([ Card('2', 'D'), Card('2', 'S'), Card('A', 'D'), Card('A', 'S'), Card('6', 'D') ]))
def test_3_of_a_kind_true(self): self.assertTrue(is_three_of_a_kind([ Card('2', 'D'), Card('2', 'S'), Card('2', 'H'), Card('A', 'H'), Card('6', 'D') ]))