public void DecimalToLong_MinValue() { Assert.Throws <OverflowException>(() => ExplicitConversion.DecimalToLong(decimalValue: decimal.MinValue)); }
public long DecimalToLong_CorrectParameters_ReturnsResult(long value) { return(ExplicitConversion.DecimalToLong(decimalValue: (decimal)value)); }