public void ToByteTest() { IConvertible target = new Time(10F); IFormatProvider provider = null; byte expected = 10; byte actual; actual = target.ToByte(provider); Assert.AreEqual(expected, actual); }