def test_that_converter_returns_vii_when_given_7(self): self.assertEqual("VII", Converter.convert_from_arabic_to_roman(7))
def test_that_converter_returns_d_when_given_500(self): self.assertEqual("D", Converter.convert_from_arabic_to_roman(500))
def test_that_converter_returns_d_when_given_2494(self): self.assertEqual("MMCDXCIV", Converter.convert_from_arabic_to_roman(2494))
def test_that_converter_returns_iv_when_given_4(self): self.assertEqual("IV", Converter.convert_from_arabic_to_roman(4))
def test_that_converter_returns_2000_when_given_mm(self): self.assertEqual(2000, Converter.convert_from_roman_to_arabic("MM"))
def test_that_converter_returns_mlxvi_when_given_1066(self): self.assertEqual("MLXVI", Converter.convert_from_arabic_to_roman(1066))
def test_that_converter_returns_9_when_given_ix(self): self.assertEqual(9, Converter.convert_from_roman_to_arabic("IX"))
def test_that_converter_returns_5_when_given_v(self): self.assertEqual(5, Converter.convert_from_roman_to_arabic("V"))
def test_that_converter_returns_501_when_given_di(self): self.assertEqual(501, Converter.convert_from_roman_to_arabic("DI"))
def test_that_converter_returns_2000_when_given_mm(self): self.assertEqual(2000, Converter.convert_from_roman_to_arabic("MM"))
def test_that_converter_returns_400_when_given_cd(self): self.assertEqual(400, Converter.convert_from_roman_to_arabic("CD"))
def test_that_converter_returns_90_when_given_xc(self): self.assertEqual(90, Converter.convert_from_roman_to_arabic("XC"))
def test_that_converter_returns_30_when_given_xxx(self): self.assertEqual(30, Converter.convert_from_roman_to_arabic("XXX"))
def test_that_converter_returns_mlxvi_when_given_1066(self): self.assertEqual("MLXVI", Converter.convert_from_arabic_to_roman(1066))
def test_that_converter_returns_1066_when_given_mlxvi(self): self.assertEqual(1066, Converter.convert_from_roman_to_arabic("MLXVI"))
def test_that_converter_returns_d_when_given_2494(self): self.assertEqual("MMCDXCIV", Converter.convert_from_arabic_to_roman(2494))
def test_that_converter_returns_1989_when_given_mcmlxxxix(self): self.assertEqual(1989, Converter.convert_from_roman_to_arabic("MCMLXXXIX"))
def test_that_converter_returns_90_when_given_xc(self): self.assertEqual(90, Converter.convert_from_roman_to_arabic("XC"))
def test_that_converter_returns_3_when_given_iii(self): self.assertEqual(3, Converter.convert_from_roman_to_arabic("III"))
def test_that_converter_returns_5_when_given_v(self): self.assertEqual(5, Converter.convert_from_roman_to_arabic("V"))
def test_that_converter_returns_9_when_given_ix(self): self.assertEqual(9, Converter.convert_from_roman_to_arabic("IX"))
def test_that_converter_returns_mcmlxxxix_when_given_1989(self): self.assertEqual("MCMLXXXIX", Converter.convert_from_arabic_to_roman(1989))
def test_that_converter_returns_1066_when_given_mlxvi(self): self.assertEqual(1066, Converter.convert_from_roman_to_arabic("MLXVI"))
def test_that_converter_returns_iii_when_given_3(self): self.assertEqual("III", Converter.convert_from_arabic_to_roman(3))
def test_that_converter_returns_1989_when_given_mcmlxxxix(self): self.assertEqual(1989, Converter.convert_from_roman_to_arabic("MCMLXXXIX"))
def test_that_converter_returns_v_when_given_5(self): self.assertEqual("V", Converter.convert_from_arabic_to_roman(5))
def test_that_converter_returns_iii_when_given_3(self): self.assertEqual("III", Converter.convert_from_arabic_to_roman(3))
def test_that_converter_returns_ix_when_given_9(self): self.assertEqual("IX", Converter.convert_from_arabic_to_roman(9))
def test_that_converter_returns_iv_when_given_4(self): self.assertEqual("IV", Converter.convert_from_arabic_to_roman(4))
def test_that_converter_returns_m_when_given_1000(self): self.assertEqual("M", Converter.convert_from_arabic_to_roman(1000))
def test_that_converter_returns_v_when_given_5(self): self.assertEqual("V", Converter.convert_from_arabic_to_roman(5))
def test_that_converter_returns_mcmlxxxix_when_given_1989(self): self.assertEqual("MCMLXXXIX", Converter.convert_from_arabic_to_roman(1989))
def test_that_converter_returns_vii_when_given_7(self): self.assertEqual("VII", Converter.convert_from_arabic_to_roman(7))
def test_that_converter_returns_4_when_given_iv(self): self.assertEqual(4, Converter.convert_from_roman_to_arabic("IV"))
def test_that_converter_returns_ix_when_given_9(self): self.assertEqual("IX", Converter.convert_from_arabic_to_roman(9))
def test_that_converter_returns_30_when_given_xxx(self): self.assertEqual(30, Converter.convert_from_roman_to_arabic("XXX"))
def test_that_converter_returns_d_when_given_500(self): self.assertEqual("D", Converter.convert_from_arabic_to_roman(500))
def test_that_converter_returns_400_when_given_cd(self): self.assertEqual(400, Converter.convert_from_roman_to_arabic("CD"))
def test_that_converter_returns_m_when_given_1000(self): self.assertEqual("M", Converter.convert_from_arabic_to_roman(1000))
def test_that_converter_returns_1_when_given_i(self): self.assertEqual(1, Converter.convert_from_roman_to_arabic("I"))
def test_that_converter_returns_4_when_given_iv(self): self.assertEqual(4, Converter.convert_from_roman_to_arabic("IV"))