public void ToUInt16Test() { IConvertible target = new Time(10F); IFormatProvider provider = null; ushort expected = 10; ushort actual; actual = target.ToUInt16(provider); Assert.AreEqual(expected, actual); }