def test_4_of_a_kind_false(self): self.assertFalse(is_four_of_a_kind([ Card('2', 'D'), Card('2', 'S'), Card('A', 'D'), Card('A', 'C'), Card('6', 'D') ]))
def test_4_of_a_kind_true(self): self.assertTrue(is_four_of_a_kind([ Card('2', 'D'), Card('2', 'S'), Card('2', 'H'), Card('2', 'C'), Card('6', 'D') ]))