public void MinBigDecimal() { BigDecimal min1 = new BigDecimal(-12345.4D); BigDecimal min2 = new BigDecimal(-12345.39D); Assert.True(BigMath.Min(min1, min2).Equals(min1), "-12345.39 should have been returned"); min1 = new BigDecimal(value2, 5); min2 = new BigDecimal(value2, 0); Assert.True(BigMath.Min(min1, min2).Equals(min1), "123345.6 should have been returned"); }