예제 #1
0
 def test_decimal_582_to_roman(self):
     roman_number = decimal_to_roman(582)
     self.assertEqual(roman_number, 'DLXXXII')
예제 #2
0
 def test_decimal_1000_to_roman(self):
     roman_number = decimal_to_roman(1000)
     self.assertEqual(roman_number, 'M')
예제 #3
0
 def test_decimal_101_to_roman(self):
     roman_number = decimal_to_roman(101)
     self.assertEqual(roman_number, 'CI')
예제 #4
0
 def test_decimal_120_to_roman(self):
     roman_number = decimal_to_roman(120)
     self.assertEqual(roman_number, 'CXX')
예제 #5
0
 def test_decimal_61_to_roman(self):
     roman_number = decimal_to_roman(61)
     self.assertEqual(roman_number, 'LXI')
예제 #6
0
 def test_decimal_177_to_roman(self):
     roman_number = decimal_to_roman(177)
     self.assertEqual(roman_number, 'CLXXVII')
예제 #7
0
 def test_decimal_47_to_roman(self):
     roman_number = decimal_to_roman(47)
     self.assertEqual(roman_number, 'XLVII')
예제 #8
0
 def test_decimal_59_to_roman(self):
     roman_number = decimal_to_roman(59)
     self.assertEqual(roman_number, 'LIX')
예제 #9
0
 def test_decimal_26_to_roman(self):
     roman_number = decimal_to_roman(26)
     self.assertEqual(roman_number, 'XXVI')
예제 #10
0
 def test_decimal_25_to_roman(self):
     roman_number = decimal_to_roman(25)
     self.assertEqual(roman_number, 'XXV')
예제 #11
0
 def test_decimal_24_to_roman(self):
     roman_number = decimal_to_roman(24)
     self.assertEqual(roman_number, 'XXIV')
예제 #12
0
 def test_decimal_4_to_roman(self):
     roman_number = decimal_to_roman(4)
     self.assertEqual(roman_number, 'IV')
예제 #13
0
 def test_decimal_1_to_roman(self):
     roman_number = decimal_to_roman("1")
     self.assertEqual(roman_number, 'I')