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