コード例 #1
0
 public void Convert_NonEqual()
 {
     var converter = new AreEqualMultiValueConverter();
     Assert.AreEqual(false, converter.Convert(new object[] { 1, 2 }, typeof(bool), null, null));
 }
コード例 #2
0
 public void ConvertBack()
 {
     var converter = new AreEqualMultiValueConverter();
     Assert.AreEqual(null, converter.ConvertBack(null, new[] { typeof(object) }, null, null));
 }
コード例 #3
0
 public void Convert_Equal_Integer()
 {
     var converter = new AreEqualMultiValueConverter();
     Assert.AreEqual(true, converter.Convert(new object[] { 1, 1 }, typeof(bool), null, null));
 }