public void RomanNotation_ShouldThrow_WhenIntegerNegative() { Action conversion = () => RomanFormatter.ToRomanNotation(-1); conversion.Should().Throw <ArgumentOutOfRangeException>(); }
public void RomanNotation_ShouldBeThousandNotation_WhenThousands(int integer, string notation) { RomanFormatter.ToRomanNotation(integer).Should().Be(notation); }
[InlineData(1945, "MCMXLV")] // End of second world war public void RomanNotation_ShouldBeMatchingNotation_WhenRealDate(int integer, string notation) { RomanFormatter.ToRomanNotation(integer).Should().Be(notation); }
public void RomanNotation_ShouldBeUnitNotation_WhenUnits(int integer, string notation) { RomanFormatter.ToRomanNotation(integer).Should().Be(notation); }