예제 #1
0
 public void SingleRomanNumeralsShouldReturnProperIntegerValues()
 {
     Assert.Equal(1, Fixture.ConvertRomanNumeralsToArabic("i"));
     Assert.Equal(5, Fixture.ConvertRomanNumeralsToArabic("v"));
     Assert.Equal(10, Fixture.ConvertRomanNumeralsToArabic("x"));
     Assert.Equal(50, Fixture.ConvertRomanNumeralsToArabic("l"));
     Assert.Equal(100, Fixture.ConvertRomanNumeralsToArabic("c"));
     Assert.Equal(500, Fixture.ConvertRomanNumeralsToArabic("d"));
     Assert.Equal(1000, Fixture.ConvertRomanNumeralsToArabic("m"));
 }