コード例 #1
0
        public void DataProcessFactoryBase64Test()
        {
            string txt   = "x";
            var    b     = new Base64Convert();
            var    bb    = StringByteConver.ToByte(txt);
            var    code  = b.Process(bb);
            var    code2 = b.DeProcess(code);

            var txt1 = StringByteConver.ToString(bb);
            var txt2 = StringByteConver.ToString(code2);

            Assert.AreEqual(txt1, txt2);
        }