示例工程 09-sequences-and-sparse-arrays

09-sequences-and-sparse-arrays/02-remove-shift-cost/_test.lua

lua · 0.2 KB

-- @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.head_slower, true)
	end)
end)
h.run()