local l=import("\046\047\116\121\112\101\111\102")describe("\102\117\110\099\116\105\111\110\115\046\116\121\112\101\111\102",function()it("\115\104\111\117\108\100 \105\100\101\110\116\105\102\121 \097\108\108 \076\117\097 \112\114\105\109\105\116\105\118\101\115",function()local B={true;false,0,"\104\101\108\108\111",{},newproxy(true)}for B,u in ipairs(B)do assert.equal(type(u),l(u))end end)it("\115\104\111\117\108\100 \105\100\101\110\116\105\102\121 \097\108\108 \073\110\115\116\097\110\099\101\115 \097\115 \073\110\115\116\097\110\099\101",function()local B=import("\046\046\047\105\110\115\116\097\110\099\101\115")for B,u in pairs(B)do assert.equal("\073\110\115\116\097\110\099\101",l(u:new()))end end)end)
local typeof = import("./typeof")

describe("functions.typeof", function()
	it("should identify all Lua primitives", function()
		local values = {
			true, false, 0, "hello", {}, newproxy(true),
		}

		for _, value in ipairs(values) do
			assert.equal(type(value), typeof(value))
		end
	end)

	it("should identify all Instances as Instance", function()
		local instances = import("../instances")

		for _, instance in pairs(instances) do
			assert.equal("Instance", typeof(instance:new()))
		end
	end)
end)