Exemple #1
0
        public void TestMethod5()
        {
            string roman    = "MMXV";
            int    expected = 2015;

            int actuall = RtoA.romanToArabic(roman);

            Assert.AreEqual(expected, actuall);
        }
Exemple #2
0
        public void TestMethod1()
        {
            string roman    = "I";
            int    expected = 1;

            int actuall = RtoA.romanToArabic(roman);

            Assert.AreEqual(expected, actuall);
        }
Exemple #3
0
        public void TestMethod4()
        {
            string roman    = "MCMXCIX";
            int    expected = 1999;

            int actuall = RtoA.romanToArabic(roman);

            Assert.AreEqual(expected, actuall);
        }