public void Should_ValidateInput_Given_Input_Between1And3999() { for (int input = 1; input <= 3999; input++) { Assert.IsTrue(RomanNumerals.ValidateInput(input), String.Format("Value {0} not correctly validated", input)); } }
public void Should_NotValidateInput_Given_Input_GreaterThan3999() { for (int input = 4000; input <= 999999; input++) { Assert.IsFalse(RomanNumerals.ValidateInput(input), String.Format("Value {0} not correctly validated", input)); } }
public void Should_ValidateInput_Given_Input_2() { Assert.IsTrue(RomanNumerals.ValidateInput(2)); }