public void Convert_False()
 {
     var converter = new BooleanToGrayscaleConverter();
     Assert.AreEqual(0d, converter.Convert(false, typeof (double), null, (CultureInfo)null));
 }
 public void ConvertBack()
 {
     var converter = new BooleanToGrayscaleConverter();
     Assert.AreEqual(ConverterHelper.DoNothingBindingValue, converter.ConvertBack(null, typeof (object), null, (CultureInfo)null));
 }
 public void Convert_NonBooleanValue()
 {
     var converter = new BooleanToGrayscaleConverter();
     Assert.AreEqual(1d, converter.Convert("string", typeof (double), null, (CultureInfo)null));
 }