private static void CheckTrunc(DD x, DD expected) { DD trunc = x.Truncate(); var isEqual = trunc.Equals(expected); Assert.True(isEqual); isEqual = trunc == expected; Assert.True(isEqual); }
private static void CheckTrunc(DD x, DD expected) { DD trunc = x.Truncate(); var isEqual = trunc.Equals(expected); Assert.True(isEqual); isEqual = trunc == expected; Assert.True(isEqual); }