public void FormatMeasurement_Negative_Inches() { Assert.AreEqual("-3.2\"", MeasurementUtils.FormatMeasurement(-230400, MsrSysType.Inch)); }
public void FormatMeasurement_Negative_Centimeter() { Assert.AreEqual("-9 cm", MeasurementUtils.FormatMeasurement(-255118, MsrSysType.Cm)); }
public void FormatMeasurement_Positive_Millimeters() { Assert.AreEqual("101.6 mm", MeasurementUtils.FormatMeasurement(288000, MsrSysType.Mm)); }
public void FormatMeasurement_Negative_Point() { Assert.AreEqual("-28.35 pt", MeasurementUtils.FormatMeasurement(-28346, MsrSysType.Point)); }
public void FormatMeasurement_Positive_Point() { Assert.AreEqual("2 pt", MeasurementUtils.FormatMeasurement(2000, MsrSysType.Point)); }