public void IntegerToRoma_GivenInvalidInput_ReturnsArgumentOutOfRangeException(int input) { Assert.That(() => RomanConverter.IntegerToRoman(input), Throws.Exception.TypeOf <ArgumentOutOfRangeException>()); }
public void IntegerToRoman_GivenIntegers_ReturnsRomanNumber(int num, string expectedRoman) { Assert.That(RomanConverter.IntegerToRoman(num), Is.EqualTo(expectedRoman)); }