示例#1
0
        public void ShouldReturnLWhen50()
        {
            var calculator = new RomanToNumericCalculator();
            var actual     = calculator.ToRoman(50);
            var expected   = "L";

            Assert.AreEqual(expected, actual);
        }
示例#2
0
        public void ShouldReturnIIIWhen3()
        {
            var calculator = new RomanToNumericCalculator();
            var actual     = calculator.ToRoman(3);
            var expected   = "III";

            Assert.AreEqual(expected, actual);
        }