Пример #1
0
 public void ToInt16Test()
 {
     IConvertible target = new Time(10F);
     IFormatProvider provider = null;
     short expected = 10;
     short actual;
     actual = target.ToInt16(provider);
     Assert.AreEqual(expected, actual);
 }