示例#1
0
 public void DifferentNonNullReferencesReturnMaybe()
 {
     Assert.IsNull(PartialComparer.Equals("first", "second"));
 }
示例#2
0
 public void NullAndNonNullAreUnequal()
 {
     Assert.IsFalse(PartialComparer.Equals <string>(null, "non-null").Value);
 }
示例#3
0
 public void NonNullAndNullAreUnequal()
 {
     Assert.IsFalse(PartialComparer.Equals("non-null", null).Value);
 }
示例#4
0
 public void TwoNullReferencesAreEqual()
 {
     Assert.IsTrue(PartialComparer.Equals <string>(null, null).Value);
 }