예제 #1
0
        public void Clone(UTF8Encoding encoding)
        {
            UTF8Encoding clone = (UTF8Encoding)encoding.Clone();

            Assert.NotSame(encoding, clone);
            Assert.Equal(encoding, clone);
        }
예제 #2
0
        public void Clone(UTF8Encoding encoding)
        {
            UTF8Encoding clone = (UTF8Encoding)encoding.Clone();

            Assert.False(clone.IsReadOnly);
            Assert.NotSame(encoding, clone);
            Assert.Equal(encoding, clone);
        }
예제 #3
0
 public void Clone(UTF8Encoding encoding)
 {
     UTF8Encoding clone = (UTF8Encoding)encoding.Clone();
     Assert.NotSame(encoding, clone);
     Assert.Equal(encoding, clone);
 }