public void TestLong() { AMFDataParser target = new AMFDataParser(); // TODO: Initialize to an appropriate value //farm-tr-fb.socialgamenet.com-22-request byte[] original_bytes = { 0x00, 0x00, 0x00, 0x03 }; int original = 0x3; target.DataBytes = original_bytes; int ret = target.ReadLong(); Assert.IsTrue(ret == original); byte[] pmNullData = { }; target.DataBytes = pmNullData; target.WriteLong(original); AssertBytes(target.DataBytes, original_bytes); }