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