Esempio n. 1
0
        public void Clone(UTF8Encoding encoding)
        {
            UTF8Encoding clone = (UTF8Encoding)encoding.Clone();

            Assert.NotSame(encoding, clone);
            Assert.Equal(encoding, clone);
        }
Esempio n. 2
0
        public void Clone(UTF8Encoding encoding)
        {
            UTF8Encoding clone = (UTF8Encoding)encoding.Clone();

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