示例#1
0
        public void One()
        {
            var converter = new RomanNumerals.RomanNumerals();

            converter.ArabicToRoman(1).Should().Be("I");
        }
示例#2
0
        public void Eight()
        {
            var converter = new RomanNumerals.RomanNumerals();

            converter.ArabicToRoman(8).Should().Be("VIII");
        }
示例#3
0
        public void Ten()
        {
            var converter = new RomanNumerals.RomanNumerals();

            converter.ArabicToRoman(10).Should().Be("X");
        }
示例#4
0
        public void Five()
        {
            var converter = new RomanNumerals.RomanNumerals();

            converter.ArabicToRoman(5).Should().Be("V");
        }
示例#5
0
        public void Seven()
        {
            var converter = new RomanNumerals.RomanNumerals();

            converter.ArabicToRoman(7).Should().Be("VII");
        }
示例#6
0
        public void Four()
        {
            var converter = new RomanNumerals.RomanNumerals();

            converter.ArabicToRoman(4).Should().Be("IV");
        }
示例#7
0
        public void Three()
        {
            var converter = new RomanNumerals.RomanNumerals();

            converter.ArabicToRoman(3).Should().Be("III");
        }
示例#8
0
        public void ArabicToNumeralsWorksCorrectly(int numToConvert, string expected)
        {
            var converter = new RomanNumerals.RomanNumerals();

            converter.ArabicToRoman(numToConvert).Should().Be(expected);
        }
 public void Initialize()
 {
     _romanNumerals = new RomanNumerals.RomanNumerals();
 }
 public void Initialize()
 {
     _romanNumerals = new RomanNumerals.RomanNumerals();
 }