Example #1
0
 def test_validpicks_handsize3_returnInts123(self):
     cards = tools.convert_to_cards(['As', 'Ks', 'Qs'])
     h = hand.Hand(cards)
     expected = ['1', '2', '3']
     result = discard.valid_picks(h)
     self.assertEqual(expected, result)
Example #2
0
 def test_validpicks_handsize0_returnEmptylist(self):
     h = hand.Hand()
     expected = []
     result = discard.valid_picks(h)
     self.assertEqual(expected, result)