Пример #1
0
 public void RomanToInteger_GivenInvalidInput_ReturnsArgumentException(string input)
 {
     Assert.That(() => RomanConverter.RomanToInteger(input), Throws.ArgumentException);
 }
Пример #2
0
 public void RomanToInteger_GivenRomanNumber_ReturnsInteger(string roman, int integer)
 {
     Assert.That(RomanConverter.RomanToInteger(roman), Is.EqualTo(integer));
 }