Esempio n. 1
0
 public void ToInt16Test()
 {
     IConvertible target = new Volume(10F);
     IFormatProvider provider = null;
     short expected = 10;
     short actual;
     actual = target.ToInt16(provider);
     Assert.AreEqual(expected, actual);
 }