public void FooBar(int arabic, string roman)
        {
            IConvert convert = new RomanToArabic();
            string   result  = convert.Convert(roman);

            Assert.That(result, Is.EqualTo(arabic.ToString()));
        }
 public void WhenIProcessTheProgram()
 {
     arabicNumber = romanToArabic.Convert(romanValue);
 }
Ejemplo n.º 3
0
        public IActionResult Get(string number)
        {
            string value = _converter.Convert(number);

            return(Ok(value));
        }