public void DecimalToInt_MinValue_ThrowsException() { Assert.Throws <OverflowException>(() => ExplicitConversion.DecimalToInt(decimalValue: decimal.MinValue)); }
public int DecimalToInt_CorrectParameters_ReturnsResult(decimal value) { return(ExplicitConversion.DecimalToInt(decimalValue: value)); }