-- @runtimes lua54 local h = require("harness") local m = require("main") h.describe("二进制头", function() h.it("大端读写", function() local r = m.run(function() end) h.eq(r.packed_hex, "4c4603") h.eq(r.magic, 0x4c46) h.eq(r.version, 3) end) end) h.run()