Пример #1
0
 def test_romanToInt_3(self):
     solution = Solution()
     self.assertEqual(3, solution.romanToInt('III'))
Пример #2
0
 def test_romanToInt_93(self):
     solution = Solution()
     self.assertEqual(93, solution.romanToInt('XCIII'))
Пример #3
0
 def test_romanToInt_1994(self):
     solution = Solution()
     self.assertEqual(1994, solution.romanToInt('MCMXCIV'))
Пример #4
0
 def test_romanToInt_83(self):
     solution = Solution()
     self.assertEqual(83, solution.romanToInt('LXXXIII'))
Пример #5
0
 def test_romanToInt_58(self):
     solution = Solution()
     self.assertEqual(58, solution.romanToInt('LVIII'))
Пример #6
0
 def test_romanToInt_47(self):
     solution = Solution()
     self.assertEqual(47, solution.romanToInt('XLVII'))
Пример #7
0
 def test_romanToInt_9(self):
     solution = Solution()
     self.assertEqual(9, solution.romanToInt('IX'))
Пример #8
0
 def test_romanToInt_4(self):
     solution = Solution()
     self.assertEqual(4, solution.romanToInt('IV'))