示例#1
0
 def test_lviii(self):
     s = Solution()
     self.assertEqual(58, s.romanToInt("LVIII"))
示例#2
0
 def test_basic(self):
     s = Solution()
     self.assertEqual(3, s.romanToInt("III"))
示例#3
0
 def test_iv(self):
     s = Solution()
     self.assertEqual(4, s.romanToInt("IV"))