Ejemplo n.º 1
0
 public void Convert_Green()
 {
     var converter = new ColorToBrushConverter();
     Assert.AreEqual(new SolidColorBrush(Colors.Green).ToString(), converter.Convert(Colors.Green, typeof (Brush), null, (CultureInfo)null).ToString());
 }
Ejemplo n.º 2
0
 public void Convert_Null()
 {
     var converter = new ColorToBrushConverter();
     Assert.AreEqual(null, converter.Convert(null, typeof (Brush), null, (CultureInfo)null));
 }