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