return function()local G=require(script.Parent.copyDeep)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 \097\114\114\097\121",function()local j={1;2;3}local Z=G(j);(expect(Z)).to.be.a("\116\097\098\108\101");(expect(Z)).never.to.equal(j);(expect(Z[1])).to.equal(1);(expect(Z[2])).to.equal(2);(expect(Z[3])).to.equal(3)end)it("\115\104\111\117\108\100 \099\111\112\121 \110\101\115\116\101\100 \097\114\114\097\121\115",function()local j={1,2,{3,4}}local Z=G(j);(expect(Z)).to.be.a("\116\097\098\108\101");(expect(Z)).never.to.equal(j);(expect(Z[1])).to.equal(1);(expect(Z[2])).to.equal(2);(expect(Z[3])).never.to.equal(j[3])end)end
return function()
	local CopyDeep = require(script.Parent.copyDeep)

	it("should return a copy of the given array", function()
		local array = { 1, 2, 3 }

		local new = CopyDeep(array)

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

		expect(new[1]).to.equal(1)
		expect(new[2]).to.equal(2)
		expect(new[3]).to.equal(3)
	end)

	it("should copy nested arrays", function()
		local array = { 1, 2, { 3, 4 } }

		local new = CopyDeep(array)

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

		expect(new[1]).to.equal(1)
		expect(new[2]).to.equal(2)
		expect(new[3]).never.to.equal(array[3])
	end)
end
