public void ConvertFrom()
        {
            TimeSpanSecondsConverter cv = new TimeSpanSecondsConverter();
            object o;

            o = cv.ConvertFrom(null, null, "59");
            Assert.Equal(typeof(TimeSpan), o.GetType());
            Assert.Equal("00:00:59", o.ToString());
            o = cv.ConvertFrom(null, null, "104");
            Assert.Equal("00:01:44", o.ToString());
        }
        public void ConvertFrom_TypeError()
        {
            TimeSpanSecondsConverter cv = new TimeSpanSecondsConverter();
            object o = null;

            AssertExtensions.Throws <ArgumentException>(null, () => o = cv.ConvertFrom(null, null, 59));
            Assert.Null(o);
        }
        public void ConvertFrom_TypeError()
        {
            TimeSpanSecondsConverter cv = new TimeSpanSecondsConverter();
            object o;

            o = cv.ConvertFrom(null, null, 59);
            Assert.IsNull(o, "A1");
        }
        public void ConvertFrom_FormatError()
        {
            TimeSpanSecondsConverter cv = new TimeSpanSecondsConverter();
            object o = null;

            Assert.Throws <ArgumentException>(() => o = cv.ConvertFrom(null, null, "100.5"));
            Assert.Null(o);
        }
        public void ConvertFrom_FormatError()
        {
            TimeSpanSecondsConverter cv = new TimeSpanSecondsConverter();
            object o;

            o = cv.ConvertFrom(null, null, "100.5");
            Assert.IsNull(o, "A1");
        }