Пример #1
0
        public void CanConvertFromStringTest()
        {
            var expected = true;

            var target = new RasDeviceTypeConverter();
            var actual = target.CanConvertFrom(typeof(string));

            Assert.AreEqual(expected, actual);
        }
Пример #2
0
        public void CanConvertFromObjectTest()
        {
            var expected = false;

            var target = new RasDeviceTypeConverter();
            var actual = target.CanConvertFrom(typeof(object));

            Assert.AreEqual(expected, actual);
        }