Beispiel #1
0
        public void PosTest7()
        {
            UTF7Encoding utf71 = new UTF7Encoding(true);
            UTF7Encoding utf72 = new UTF7Encoding();

            Assert.False(utf71.Equals(utf72));
        }
Beispiel #2
0
        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));
 }
Beispiel #4
0
        public void PosTest2()
        {
            UTF7Encoding utf71 = new UTF7Encoding();
            UTF7Encoding utf72 = new UTF7Encoding();

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

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