public void PosTest1()
        {
            UTF7Encoding utf7a = new UTF7Encoding();
            UTF7Encoding utf7b = utf7a;

            Assert.Equal(utf7a.GetHashCode(), utf7b.GetHashCode());
        }
 public void PosTest1()
 {
     UTF7Encoding utf7a = new UTF7Encoding();
     UTF7Encoding utf7b = utf7a;
     Assert.Equal(utf7a.GetHashCode(), utf7b.GetHashCode());
 }
Example #3
0
 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()));
 }
Example #4
0
 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 GetHashCodeTest()
 {
     UTF7Encoding encoding = new UTF7Encoding();
     Assert.Equal(encoding.GetHashCode(), encoding.GetHashCode());
 }
        public void GetHashCodeTest()
        {
            UTF7Encoding encoding = new UTF7Encoding();

            Assert.Equal(encoding.GetHashCode(), encoding.GetHashCode());
        }