public void ThrowException_WhenConverting_GivenArabicNumberWhichIsLessThanOne() { var arabicToRomanNumeral = new ArabicToRomanNumeral(); Action actualRomanNumeral = () => arabicToRomanNumeral.Convert(0); actualRomanNumeral.Should().Throw <Exception>(); }
public void ReturnRomanNumeral_WhenConverting_GivenArabicNumber(int arabicNumber, string expectedRomanNumeral) { var arabicToRomanNumeral = new ArabicToRomanNumeral(); var actualRomanNumeral = arabicToRomanNumeral.Convert(arabicNumber); actualRomanNumeral.Should().Be(expectedRomanNumeral); }