示例#1
0
        public void Clone(ASCIIEncoding encoding)
        {
            ASCIIEncoding clone = (ASCIIEncoding)encoding.Clone();

            Assert.NotSame(encoding, clone);
            Assert.Equal(encoding, clone);
        }
示例#2
0
 public void Clone(ASCIIEncoding encoding)
 {
     ASCIIEncoding clone = (ASCIIEncoding)encoding.Clone();
     Assert.NotSame(encoding, clone);
     Assert.Equal(encoding, clone);
 }