Пример #1
0
 public void ToUInt16Test()
 {
     IConvertible target = new Volume(10F);
     IFormatProvider provider = null;
     ushort expected = 10;
     ushort actual;
     actual = target.ToUInt16(provider);
     Assert.AreEqual(expected, actual);
 }