public void ToInt16Test() { double value = 10F; IConvertible target = new Angle(value); IFormatProvider provider = null; short expected = 10; short actual; actual = target.ToInt16(provider); Assert.AreEqual(expected, actual); }