Esempio n. 1
0
 public void ConvertBack_10_Parameter5()
 {
     var converter = new MultiplyConverter();
     Assert.AreEqual(2d, converter.ConvertBack(10, typeof (int), "5", (CultureInfo)null));
 }
Esempio n. 2
0
 public void ConvertBack_0_Parameter5()
 {
     var converter = new MultiplyConverter();
     Assert.AreEqual(double.PositiveInfinity, converter.ConvertBack(5, typeof (int), "0", (CultureInfo)null));
 }