Ejemplo n.º 1
0
 public void ConvertBack_Green()
 {
     var converter = new ColorToBrushConverter();
     Assert.AreEqual(Colors.Green.ToString(), converter.ConvertBack(new SolidColorBrush(Colors.Green), typeof (Color), null, (CultureInfo)null).ToString());
 }
Ejemplo n.º 2
0
 public void ConvertBack_Null()
 {
     var converter = new ColorToBrushConverter();
     Assert.AreEqual(Colors.Black.ToString(), converter.ConvertBack(null, typeof (Color), null, (CultureInfo)null).ToString());
 }