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