public void DoesNothingGivenNegativeOneInput() { AllowNegativeAttributeTestNoAttribute.FromValue(-1); }
public void ThrowsExceptionGivenNegativeNumber() { Assert.Throws <NegativeValueArgumentException>(() => AllowNegativeAttributeTestNoAttribute.FromValue(-3)); }