public void CanConvertCommaSeparatedListToList()
 {
     var result = _converter.GetValue( "1,2,3", typeof( List<Int32> ) );
     Assert.AreEqual( 3, ( (List<Int32>)result ).Count );
 }
Ejemplo n.º 2
0
        public void CanConvertStringToInt()
        {
            var result = _converter.GetValue("1", typeof(Int32));

            Assert.Equal(1, result);
        }