Exemplo n.º 1
0
        public void TestInt16Coverter(Int16 inputValue, string format, string expectedDisplayValue)
        {
            var varInfo = new Int16DataValue(new DataValue(new Variant(inputValue)));

            varInfo.FormatSelectedItem = format;
            var convVal = varInfo.ConvertValue();

            Assert.AreEqual(convVal, expectedDisplayValue);
        }