Exemple #1
0
 public void ToSingleTest()
 {
     double value = 10F;
     IConvertible target = new Angle(value);
     IFormatProvider provider = null;
     float expected = 10F;
     float actual;
     actual = target.ToSingle(provider);
     Assert.AreEqual(expected, actual);
 }