コード例 #1
0
    def test_case_one(self):
        solution = Solution()

        self.assertEqual(solution.convert_int_to_roman(3), 'III')
コード例 #2
0
    def test_case_five(self):
        solution = Solution()

        self.assertEqual(solution.convert_int_to_roman(1994), "MCMXCIV")
コード例 #3
0
    def test_case_three(self):
        solution = Solution()

        self.assertEqual(solution.convert_int_to_roman(9), "IX")
コード例 #4
0
    def test_case_four(self):
        solution = Solution()

        self.assertEqual(solution.convert_int_to_roman(58), "LVIII")
コード例 #5
0
    def test_case_two(self):
        solution = Solution()

        self.assertEqual(solution.convert_int_to_roman(4), "IV")