public void EqualsReturnsFalseOnNull() { RatioChangeRate decimalfractionpersecond = RatioChangeRate.FromDecimalFractionsPerSecond(1); Assert.False(decimalfractionpersecond.Equals(null)); }
public void EqualsReturnsFalseOnTypeMismatch() { RatioChangeRate decimalfractionpersecond = RatioChangeRate.FromDecimalFractionsPerSecond(1); Assert.False(decimalfractionpersecond.Equals(new object())); }