Exemple #1
0
 def test_sts_ace_low_val(self):
     self.assertEqual(18, Rulebook.string_to_score("18 or 28"))
Exemple #2
0
 def test_sts_large_val(self):
     self.assertEqual(50, Rulebook.string_to_score("50"))
Exemple #3
0
 def test_sts_ace_val(self):
     self.assertEqual(21, Rulebook.string_to_score("11 or 21"))
Exemple #4
0
 def test_sts_zero(self):
     self.assertEqual(0, Rulebook.string_to_score("0"))