Example #1
0
        public void ArabicNumber_1_Returns_I()
        {
            var arabicRomanParser = new ArabicToRomanConverter();

            Assert.AreEqual("I", arabicRomanParser.Convert(1));
        }
Example #2
0
        public void ArabicNumber_19_Returns_XIX()
        {
            var arabicRomanParser = new ArabicToRomanConverter();

            Assert.AreEqual("XIX", arabicRomanParser.Convert(19));
        }
Example #3
0
        public void ArabicNumber_8_Returns_VIII()
        {
            var arabicRomanParser = new ArabicToRomanConverter();

            Assert.AreEqual("VIII", arabicRomanParser.Convert(8));
        }
Example #4
0
        public void ArabicNumber_15_Returns_XV()
        {
            var arabicRomanParser = new ArabicToRomanConverter();

            Assert.AreEqual("XV", arabicRomanParser.Convert(15));
        }
Example #5
0
        public void ArabicNumber_1500_Returns_MD()
        {
            var arabicRomanParser = new ArabicToRomanConverter();

            Assert.AreEqual("MD", arabicRomanParser.Convert(1500));
        }
Example #6
0
        public void ArabicNumber_80_Returns_LXXX()
        {
            var arabicRomanParser = new ArabicToRomanConverter();

            Assert.AreEqual("LXXX", arabicRomanParser.Convert(80));
        }
Example #7
0
        public void ArabicNumber_76_Returns_LXXVI()
        {
            var arabicRomanParser = new ArabicToRomanConverter();

            Assert.AreEqual("LXXVI", arabicRomanParser.Convert(76));
        }
Example #8
0
        public void ArabicNumber_50_Returns_L()
        {
            var arabicRomanParser = new ArabicToRomanConverter();

            Assert.AreEqual("L", arabicRomanParser.Convert(50));
        }
Example #9
0
        public void ArabicNumber_49_Returns_XLIX()
        {
            var arabicRomanParser = new ArabicToRomanConverter();

            Assert.AreEqual("XLIX", arabicRomanParser.Convert(49)); // Super Bowl 49!
        }