public void PosTest7() { UTF7Encoding utf71 = new UTF7Encoding(true); UTF7Encoding utf72 = new UTF7Encoding(); Assert.False(utf71.Equals(utf72)); }
public void PosTest8() { UTF7Encoding utf71 = new UTF7Encoding(false); UTF7Encoding utf72 = new UTF7Encoding(); Assert.True(utf71.Equals(utf72)); }
public void PosTest2() { UTF7Encoding utf71 = new UTF7Encoding(); UTF7Encoding utf72 = new UTF7Encoding(); utf71 = utf72; Assert.True(utf71.Equals(utf72)); }
public void Equals(UTF7Encoding encoding, object value, bool expected) { Assert.Equal(expected, encoding.Equals(value)); Assert.Equal(value is UTF7Encoding, encoding.GetHashCode().Equals(value?.GetHashCode())); }
public void Equals(UTF7Encoding encoding, object value, bool expected) { Assert.Equal(expected, encoding.Equals(value)); }
public void PosTest3() { UTF7Encoding utf71 = new UTF7Encoding(); Assert.False(utf71.Equals(null)); }