Example #1
0
 public void Convert_5_Parameter0()
 {
     var converter = new MultiplyConverter();
     Assert.AreEqual(0d, converter.Convert(5, typeof (int), "0", (CultureInfo)null));
 }
Example #2
0
 public void Convert_2_Parameter5()
 {
     var converter = new MultiplyConverter();
     Assert.AreEqual(10d, converter.Convert(2, typeof (int), "5", (CultureInfo)null));
 }
Example #3
0
 public void Convert_Null()
 {
     var converter = new MultiplyConverter();
     Assert.AreEqual(0d, converter.Convert(null, typeof (int), null, (CultureInfo)null));
 }