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