예제 #1
0
 def testF_TakeHighestFlush(self):
     '''make sure to take the highest flush'''
     hand = cards('1C,2C,4C,5C,7C,9C')
     self.assertEqual(flush(hand), cards('9C,7C,5C,4C,2C'))
예제 #2
0
 def testF_TakeHighestFlush(self):
     '''make sure to take the highest flush'''
     hand = cards('1C,2C,4C,5C,7C,9C')
     self.assertEqual(flush(hand), cards('9C,7C,5C,4C,2C'))
예제 #3
0
 def testE_Flush(self):
     '''a flush'''
     hand = cards('2C,4C,6C,8C,10C,11D,12D,5H')
     self.assertEqual(flush(hand), cards('10C,8C,6C,4C,2C'))
예제 #4
0
 def testE_Flush(self):
     '''a flush'''
     hand = cards('2C,4C,6C,8C,10C,11D,12D,5H')
     self.assertEqual(flush(hand), cards('10C,8C,6C,4C,2C'))