public void ConvertBack_False_Parameter1AsString() { var converter = new IsSelectedValueConverter(); Assert.AreEqual(ConverterHelper.DoNothingBindingValue, converter.ConvertBack(false, typeof (int), "1", (CultureInfo)null)); }
public void ConvertBack_True_Parameter0AsValue() { var converter = new IsSelectedValueConverter(); Assert.AreEqual(0, converter.ConvertBack(true, typeof (int), 0, (CultureInfo)null)); }
public void ConvertBack_True_Parameter1AsString() { var converter = new IsSelectedValueConverter(); Assert.AreEqual(1, converter.ConvertBack(true, typeof (int), "1", (CultureInfo)null)); }
public void ConvertBack_True() { var converter = new IsSelectedValueConverter(); Assert.AreEqual(ConverterHelper.DoNothingBindingValue, converter.ConvertBack(true, typeof (int), null, (CultureInfo)null)); }