return function()local r=require(script.Parent.copy)it("\115\104\111\117\108\100 \114\101\116\117\114\110 \097 \099\111\112\121 \111\102 \116\104\101 \103\105\118\101\110 \100\105\099\116\105\111\110\097\114\121",function()local q={hello="\119\111\114\108\100"}local c=r(q);(expect(c)).to.be.a("\116\097\098\108\101");(expect(c)).never.to.equal(q);(expect(c.hello)).to.equal("\119\111\114\108\100")end)it("\115\104\111\117\108\100 \110\111\116 \099\111\112\121 \110\101\115\116\101\100 \100\105\099\116\105\111\110\097\114\105\101\115",function()local q={hello={world="\103\111\111\100\098\121\101"}}local c=r(q);(expect(c)).to.be.a("\116\097\098\108\101");(expect(c)).never.to.equal(q);(expect(c.hello)).to.equal(q.hello)end)end
return function()
	local Copy = require(script.Parent.copy)

	it("should return a copy of the given dictionary", function()
		local dictionary = { hello = "world" }

		local new = Copy(dictionary)

		expect(new).to.be.a("table")
		expect(new).never.to.equal(dictionary)

		expect(new.hello).to.equal("world")
	end)

	it("should not copy nested dictionaries", function()
		local dictionary = { hello = { world = "goodbye" } }

		local new = Copy(dictionary)

		expect(new).to.be.a("table")
		expect(new).never.to.equal(dictionary)

		expect(new.hello).to.equal(dictionary.hello)
	end)
end
