-- @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.top, 20) h.eq(r.first, 10) h.eq(r.negative, 10) end) end) h.run()