Пример #1
0
 def test_result1a(self):
     self.assertEqual(score(["D", "3"]), [13])
Пример #2
0
 def test_result5(self):
     self.assertEqual(score(["A", "9", "A"]), [11, 21, 31])
Пример #3
0
 def test_result1(self):
     self.assertEqual(score(["2", "3"]), [5])
Пример #4
0
 def test_result4b(self):
     self.assertEqual(score(["A", "2", "3"]), [6, 16])
Пример #5
0
 def test_result4c(self):
     self.assertEqual(score(["A", "2", "3", "4"]), [10, 20])
Пример #6
0
 def test_result4a(self):
     self.assertEqual(score(["A", "2"]), [3, 13])
Пример #7
0
 def test_result4(self):
     self.assertEqual(score(["A", "9"]), [10, 20])
Пример #8
0
 def test_result3(self):
     self.assertEqual(score(["K", "A"]), [11, 21])
Пример #9
0
 def test_result2(self):
     self.assertEqual(score(["A", "A"]), [2, 12, 22])
Пример #10
0
 def test_result1b(self):
     self.assertEqual(score(["3", "3", "5", "5", "10"]), [26])