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