public void TestInt16BackCoverter(string inputValue, string format, Int16 expectedDisplayValue) { var varInfo = new Int16DataValue(new DataValue(new Variant((Int16)0))); varInfo.FormatSelectedItem = format; varInfo.ConvertValueBack(inputValue); Assert.AreEqual(varInfo.GetRawValue(), expectedDisplayValue); }