public void ToArabicTest_RandomSuccessfulValues()
 {
     foreach (var number in sampleRandomNumbers)
     {
         Assert.AreEqual(number.Value, RomanConvertor.ToArabic(number.Key));
     }
 }
 public void ToArabicTest_SpecialNumbers()
 {
     foreach (var number in specialNumbers)
     {
         Assert.AreEqual(number.Value, RomanConvertor.ToArabic(number.Key));
     }
 }
        public void Test_Sanity()
        {
            var originalRomanNumber = "MCDXCVIII";
            var convertedArabic     = RomanConvertor.ToArabic(originalRomanNumber);
            var convertedRoman      = RomanConvertor.ToRoman(convertedArabic);

            Assert.AreEqual(originalRomanNumber, convertedRoman);
        }
 public void ToArabicTest_InvalidChars()
 {
     Assert.ThrowsException <FormatException>(() =>
     {
         var result = RomanConvertor.ToArabic("XXBBIIOO");
     }
                                              );
 }