local f=import("\046\047\100\101\098\117\103")describe("\108\105\098\115\046\100\101\098\117\103",function()describe("\114\101\115\116\114\105\099\116\101\100 \102\117\110\099\116\105\111\110\115",function()it("\103\101\116\105\110\102\111 \105\115 \114\101\115\116\114\105\099\116\101\100",function()assert.equals(f.getinfo,nil)end)it("\103\101\116\108\111\099\097\108 \105\115 \114\101\115\116\114\105\099\116\101\100",function()assert.equals(f.getlocal,nil)end)it("\115\101\116\108\111\099\097\108 \105\115 \114\101\115\116\114\105\099\116\101\100",function()assert.equals(f.setlocal,nil)end)it("\103\101\116\117\112\118\097\108\117\101 \105\115 \114\101\115\116\114\105\099\116\101\100",function()assert.equals(f.getupvalue,nil)end)it("\115\101\116\117\112\118\097\108\117\101 \105\115 \114\101\115\116\114\105\099\116\101\100",function()assert.equals(f.setupvalue,nil)end)it("\115\101\116\104\111\111\107 \105\115 \114\101\115\116\114\105\099\116\101\100",function()assert.equals(f.sethook,nil)end)end)end)
local debug = import("./debug")

describe("libs.debug", function()
	describe("restricted functions", function()
		it("getinfo is restricted", function()
			assert.equals(debug.getinfo, nil)
		end)

		it("getlocal is restricted", function()
			assert.equals(debug.getlocal, nil)
		end)

		it("setlocal is restricted", function()
			assert.equals(debug.setlocal, nil)
		end)

		it("getupvalue is restricted", function()
			assert.equals(debug.getupvalue, nil)
		end)

		it("setupvalue is restricted", function()
			assert.equals(debug.setupvalue, nil)
		end)

		it("sethook is restricted", function()
			assert.equals(debug.sethook, nil)
		end)
	end)
end)