예제 #1
0
 def testIsNotTwoPair(self):
     hand = FullHand(("as", "9s"), ("qs", "jd", "4s", "6s", "7h"))
     self.assertFalse(hand.is_two_pair())
예제 #2
0
 def testIsTwoPair(self):
     hand = FullHand(("as", "ks"), ("ad", "kc", "9h", "jd", "5c"))
     self.assertTrue(hand.is_two_pair())