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