Exemplo n.º 1
0
        public void PosTest7()
        {
            UTF7Encoding utf71 = new UTF7Encoding(true);
            UTF7Encoding utf72 = new UTF7Encoding();

            Assert.False(utf71.Equals(utf72));
        }
Exemplo n.º 2
0
        public void PosTest8()
        {
            UTF7Encoding utf71 = new UTF7Encoding(false);
            UTF7Encoding utf72 = new UTF7Encoding();

            Assert.True(utf71.Equals(utf72));
        }
Exemplo n.º 3
0
 public void PosTest2()
 {
     UTF7Encoding utf71 = new UTF7Encoding();
     UTF7Encoding utf72 = new UTF7Encoding();
     utf71 = utf72;
     Assert.True(utf71.Equals(utf72));
 }
Exemplo n.º 4
0
        public void PosTest2()
        {
            UTF7Encoding utf71 = new UTF7Encoding();
            UTF7Encoding utf72 = new UTF7Encoding();

            utf71 = utf72;
            Assert.True(utf71.Equals(utf72));
        }
Exemplo n.º 5
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()));
 }
Exemplo n.º 6
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()));
 }
Exemplo n.º 7
0
 public void Equals(UTF7Encoding encoding, object value, bool expected)
 {
     Assert.Equal(expected, encoding.Equals(value));
 }
Exemplo n.º 8
0
        public void PosTest3()
        {
            UTF7Encoding utf71 = new UTF7Encoding();

            Assert.False(utf71.Equals(null));
        }
Exemplo n.º 9
0
 public void Equals(UTF7Encoding encoding, object value, bool expected)
 {
     Assert.Equal(expected, encoding.Equals(value));
 }
Exemplo n.º 10
0
 public void PosTest8()
 {
     UTF7Encoding utf71 = new UTF7Encoding(false);
     UTF7Encoding utf72 = new UTF7Encoding();
     Assert.True(utf71.Equals(utf72));
 }
Exemplo n.º 11
0
 public void PosTest7()
 {
     UTF7Encoding utf71 = new UTF7Encoding(true);
     UTF7Encoding utf72 = new UTF7Encoding();
     Assert.False(utf71.Equals(utf72));
 }
Exemplo n.º 12
0
 public void PosTest3()
 {
     UTF7Encoding utf71 = new UTF7Encoding();
     Assert.False(utf71.Equals(null));
 }