Example #1
0
 def testIsNotOnePair(self):
     hand = FullHand(("as", "9s"), ("qs", "jd", "4s", "6h", "8c"))
     self.assertFalse(hand.is_one_pair())
Example #2
0
 def testIsOnePair(self):
     hand = FullHand(("as", "9s"), ("qs", "ad", "4s", "6h", "8c"))
     self.assertTrue(hand.is_one_pair())