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