public void NullComparer_NullEqualsAnything_NotNullNullable_EqualReturnsTrue() { var comparer = new SoftNullEqualityComparer <int?>(); Assert.IsTrue(comparer.Equals(1, 1)); }
public void NullComparer_NullEqualsAnything_Null_EqualReturnsTrue() { var comparer = new SoftNullEqualityComparer<string>(); Assert.IsTrue(comparer.Equals("foo", null)); }
public void NullComparer_NullEqualsAnything_Null_EqualReturnsTrue() { var comparer = new SoftNullEqualityComparer <string>(); Assert.IsTrue(comparer.Equals("foo", null)); }
public void NullComparer_NullEqualsAnything_NullNullable_EqualReturnsTrue() { var comparer = new SoftNullEqualityComparer<int?>(); Assert.IsTrue(comparer.Equals(1, null)); }