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