def testIsNotTrips(self): hand = FullHand(("as", "9s"), ("qs", "jd", "4s", "10d", "8s")) self.assertFalse(hand.is_trips())
def testIsTrips(self): hand = FullHand(("as", "js"), ("ad", "kc", "ac", "10d", "9s")) self.assertTrue(hand.is_trips())