Exemplo n.º 1
0
        public void TestStringStringConvertTo()
        {
            var converter = new StringStringConverter();

            Assert.AreEqual("some in put some out put", converter.ConvertTo("some in put some out put", typeof(string)));
            Assert.AreEqual("112.2f", converter.ConvertTo("112.2f", typeof(string)));
        }
Exemplo n.º 2
0
        public void StringStringConvertFromStringTest()
        {
            var convert = new StringStringConverter();

            Assert.AreEqual("11.  asdjalksdj   ", convert.ConvertFromString("11.  asdjalksdj   ", typeof(string)));
        }
Exemplo n.º 3
0
        public void StringStringConvertToStringTest()
        {
            var convert = new StringStringConverter();

            Assert.AreEqual("11.  asdjalksdj   ", convert.ConvertToString("11.  asdjalksdj   "));
        }