-- @runtimes lua54 luajit local h = require("harness") local m = require("main") h.describe("绑定形态", function() h.it("工厂与成员方法", function() local r = m.run(function() end) h.eq(r.x, 3) h.eq(r.y, 4) end) end) h.run()