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