public void checkEqualse() { Measurment measureOne = new Measurment(); double valueOne = measureOne.UnitConversion(Unit.FEET_TO_INCH, 12); double valueTwo = measureOne.UnitConversion(Unit.FEET_TO_INCH, 12); Assert.IsTrue(valueOne.Equals(valueTwo)); }
static void Main(string[] args) { Measurment c = new Measurment(); double output = c.UnitConversion(Unit.FEET_TO_INCH, 12); Console.WriteLine("o->" + output); }
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 CompareFeetToInch() { double output = measure.UnitConversion(Unit.FEET_TO_INCH, 1); Assert.AreEqual(12, output); }