예제 #1
0
        public void ConvertToRomanTest(int input, string expected)
        {
            //act
            ConverterToRoman converter = new ConverterToRoman();
            string           actual    = converter.ConvertToRoman(input);

            //assert
            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void ConvertToRoman_1257_MCCLVIIreturned()
        {
            //arrange
            int    input    = 1257;
            string expected = "MCCLVII";
            //act
            ConverterToRoman converter = new ConverterToRoman();
            string           actual    = converter.ConvertToRoman(input);

            //assert
            Assert.AreEqual(expected, actual);
        }