Exemple #1
0
        public void ConvertNormalNumberToRomanNumeral(int input, string expectedOutput)
        {
            //arrange
            var sut = new RomanNumeralConverter();
            //act
            var actualOutput = sut.ConvertNumber(input);

            //assert
            Assert.That(actualOutput.Equals(expectedOutput));
        }
        public void GivenWeReceiveAnArabicNumber_ThenWeReturnCorrectRomanNumeral(int input, string expected)
        {
            var result = RomanNumeralConverter.ConvertArabicToRomanNumeral(input);

            Assert.That(result, Is.EqualTo(expected));
        }