Example #1
0
 def test_handscore_big_raise(self):
     fear = OpponentHandRangeFear(self.data, 100)
     self.assertEqual(fear.tier.name, "BIG_RAISE")
     score = handscore.HandScore(1)
     score.kicker = tuple([C.QUEEN] * 5)
     self.assertEqual(fear.minimum_handscore(), score)
Example #2
0
 def test_handscore_check(self):
     fear = OpponentHandRangeFear(self.data, 0)
     self.assertEqual(fear.tier.name, "CHECK")
     score = handscore.HandScore(0)
     score.kicker = tuple([None] * 5)
     self.assertEqual(fear.minimum_handscore(), score)