Example #1
0
 def test_poker_example_50(self):
     sf = ["2C", "3C", "4C", "5C", "6C"]
     actual = poker.compare_card(sf)
     expected = [0.0, 0.01, 0.02, 0.03, 0.04]
     self.assertEqual(actual, expected)
Example #2
0
 def test_poker_example_49(self):
     fk = ["AS", "5H", "5D", "5C", "5S"]
     actual = poker.compare_card(fk)
     expected = [0.12, 0.03, 0.03, 0.03, 0.03]
     self.assertEqual(actual, expected)