public void checkForWrongType() { Measurment measureOne = new Measurment(); object o = new object(); Assert.IsFalse(measureOne.Equals(o)); }
public void checkForWrongRefrance() { Measurment measureOne = new Measurment(); measureOne.UnitConversion(Unit.FEET_TO_INCH, 12); Measurment measureTwo = new Measurment(); measureTwo.UnitConversion(Unit.FEET_TO_INCH, 12); Assert.IsFalse(measureOne.Equals(measureTwo)); }
public void checkForNull() { Assert.IsFalse(measure.Equals(null)); }