예제 #1
0
        public void TestAMF3Int()
        {
            AMFDataParser target = new AMFDataParser(); // TODO: Initialize to an appropriate value
            //farm-tr-fb.socialgamenet.com-22-request
            byte[] original_bytes = {
                0x57
            };
            target.DataBytes = original_bytes;
            int ret = target.ReadAMF3Int();

            Assert.IsTrue( ret == 0x57 );

            byte[] pmNullData = {
            };

            target.DataBytes = pmNullData;
            target.WriteAMF3Int( 0x57 );
            AssertBytes(target.DataBytes, original_bytes);
        }