return function()local E=require(script.Parent.reverse)it("\115\104\111\117\108\100 \114\101\118\101\114\115\101 \116\104\101 \103\105\118\101\110 \097\114\114\097\121",function()local R={1;2,3}local f=E(R);(expect(f[1])).to.equal(3);(expect(f[2])).to.equal(2);(expect(f[3])).to.equal(1)end)it("\115\104\111\117\108\100 \110\111\116 \109\111\100\105\102\121 \116\104\101 \111\114\105\103\105\110\097\108 \097\114\114\097\121",function()local R={1,2;3}E(R);(expect(R[1])).to.equal(1);(expect(R[2])).to.equal(2);(expect(R[3])).to.equal(3)end)end
return function()
	local Reverse = require(script.Parent.reverse)

	it("should reverse the given array", function()
		local array = { 1, 2, 3 }

		local reversed = Reverse(array)

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

	it("should not modify the original array", function()
		local array = { 1, 2, 3 }

		Reverse(array)

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