public void NullUtils_GetNullOrDecimal_Value_Success() { decimal?value = 444M; Assert.AreEqual(444M, NullUtils.GetNullOrDecimal(value), "GetNullOrDecimal(value) did not return the expected value"); }
public void NullUtils_GetNullOrDecimal_Null_Success() { decimal?value = null; Assert.IsNull(NullUtils.GetNullOrDecimal(value), "GetNullOrDecimal(null) should have returned null"); }