def test_convert_VII_to_int(self):
     self.assertEqual(RomanNumerals.roman_string_to_int("VII"), 7)
 def test_convert_54_to_roman_string(self):
     self.assertEqual(RomanNumerals.int_to_roman_string(54), "LIV")
 def test_convert_76_to_roman_string(self):
     self.assertEqual(RomanNumerals.int_to_roman_string(76), "LXXVI")
 def test_convert_10_to_roman_string(self):
     self.assertEqual(RomanNumerals.int_to_roman_string(10), "X")
 def test_convert_32_to_roman_string(self):
     self.assertEqual(RomanNumerals.int_to_roman_string(32), "XXXII")
 def test_parse_3999_from_constructor_is_valid(self):
     rn = RomanNumerals(integer=3999)
     self.assertTrue(rn.is_valid)
 def test_import_ok(self):
     RomanNumerals()
 def test_convert_DCLIV_to_int(self):
     self.assertEqual(RomanNumerals.roman_string_to_int("DCLIV"), 654)
 def test_convert_DCCLXV_to_int(self):
     self.assertEqual(RomanNumerals.roman_string_to_int("DCCLXV"), 765)
 def test_convert_CDXXXII_to_int(self):
     self.assertEqual(RomanNumerals.roman_string_to_int("CDXXXII"), 432)
 def test_convert_DXLIII_to_int(self):
     self.assertEqual(RomanNumerals.roman_string_to_int("DXLIII"), 543)
 def test_convert_CCCXXI_to_int(self):
     self.assertEqual(RomanNumerals.roman_string_to_int("CCCXXI"), 321)
 def test_convert_CC_to_int(self):
     self.assertEqual(RomanNumerals.roman_string_to_int("CC"), 200)
 def test_convert_XCIX_to_int(self):
     self.assertEqual(RomanNumerals.roman_string_to_int("XCIX"), 99)
 def test_convert_MMMCMXCIX_to_int(self):
     self.assertEqual(RomanNumerals.roman_string_to_int("MMMCMXCIX"), 3999)
 def test_convert_DCCCLXXVI_to_int(self):
     self.assertEqual(RomanNumerals.roman_string_to_int("DCCCLXXVI"), 876)
 def test_parse_3999_is_valid(self):
     rn = RomanNumerals()
     rn.parse_from_int(3999)
     self.assertTrue(rn.is_valid)
 def test_convert_CMLXXXVII_to_int(self):
     self.assertEqual(RomanNumerals.roman_string_to_int("CMLXXXVII"), 987)
 def test_convert_8_to_roman_string(self):
     self.assertEqual(RomanNumerals.int_to_roman_string(8), "VIII")
 def test_convert_MCCXXXIV_to_int(self):
     self.assertEqual(RomanNumerals.roman_string_to_int("MCCXXXIV"), 1234)
 def test_convert_9_to_roman_string(self):
     self.assertEqual(RomanNumerals.int_to_roman_string(9), "IX")
 def test_convert_MDCLXVI_to_int(self):
     self.assertEqual(RomanNumerals.roman_string_to_int("MDCLXVI"), 1666)
 def test_convert_21_to_roman_string(self):
     self.assertEqual(RomanNumerals.int_to_roman_string(21), "XXI")
 def test_convert_MMCCCXLV_to_int(self):
     self.assertEqual(RomanNumerals.roman_string_to_int("MMCCCXLV"), 2345)
 def test_convert_43_to_roman_string(self):
     self.assertEqual(RomanNumerals.int_to_roman_string(43), "XLIII")
 def test_convert_MMM_to_int(self):
     self.assertEqual(RomanNumerals.roman_string_to_int("MMM"), 3000)
 def test_convert_65_to_roman_string(self):
     self.assertEqual(RomanNumerals.int_to_roman_string(65), "LXV")
 def test_convert_MMMCDLVI_to_int(self):
     self.assertEqual(RomanNumerals.roman_string_to_int("MMMCDLVI"), 3456)
 def test_convert_87_to_roman_string(self):
     self.assertEqual(RomanNumerals.int_to_roman_string(87), "LXXXVII")
 def test_convert_3999_to_roman_string(self):
     self.assertEqual(RomanNumerals.int_to_roman_string(3999), "MMMCMXCIX")