public void MU_ctor() { var munit = new MeasurementUnit(); munit.SetLengthUnit(LengthUnit.INCH); Assert.AreEqual(3.937e-5, munit.ConvToMicron, .000001); Assert.AreEqual("INCH", munit.Name); Assert.AreEqual(LengthUnit.INCH, munit.LengthUnits); }
public void MU_ctor() { var munit = new MeasurementUnit(); munit.SetLengthUnit(LengthUnit.INCH); Assert.AreEqual(3.937e-5, munit.ConvToMicron, .000001); Assert.AreEqual("INCH", munit.Name); Assert.AreEqual(LengthUnit.INCH, munit.LengthUnits); }