Exemplo n.º 1
0
 public void ToTypeTest()
 {
     IConvertible target = new Volume(10F);
     Type conversionType = typeof(Double);
     IFormatProvider provider = null;
     object expected = new Volume(10F);
     object actual;
     actual = target.ToType(conversionType, provider);
     Assert.AreEqual(expected, actual);
 }