示例#1
0
        public void ShouldConvertsXVIto16()
        {
            var converter = new RomanToIntegerConverter();

            var actualResult   = converter.Convert("XVI");
            var expectedResult = 16;

            Assert.AreEqual(expectedResult, actualResult);
        }
 public void ConvertsToRoman(int input, string expected)
 {
     RomanToIntegerConverter.IntToRoman(input).Should().Be(expected);
 }
 public void ConvertsToInt(string input, int expected)
 {
     RomanToIntegerConverter.RomanToInt(input).Should().Be(expected);
 }