return function()local e=require(script.Parent.equals)it("\115\104\111\117\108\100 \114\101\116\117\114\110 \116\114\117\101 \105\102 \116\104\101 \097\114\114\097\121\115 \097\114\101 \101\113\117\097\108",function()local O={1;2;3}local n={1;2,3};(expect(e(O,n))).to.equal(true)end)it("\115\104\111\117\108\100 \114\101\116\117\114\110 \102\097\108\115\101 \105\102 \116\104\101 \097\114\114\097\121\115 \097\114\101 \110\111\116 \101\113\117\097\108",function()local O={1;2,3}local n={1;2,4};(expect(e(O,n))).to.equal(false)end)it("\115\104\111\117\108\100 \114\101\116\117\114\110 \102\097\108\115\101 \102\111\114 \110\101\115\116\101\100 \097\114\114\097\121\115",function()local O={1,2,{3;4}}local n={1,2;{3,4}};(expect(e(O,n))).to.equal(false)end)end
return function()
	local Equals = require(script.Parent.equals)

	it("should return true if the arrays are equal", function()
		local array1 = { 1, 2, 3 }
		local array2 = { 1, 2, 3 }

		expect(Equals(array1, array2)).to.equal(true)
	end)

	it("should return false if the arrays are not equal", function()
		local array1 = { 1, 2, 3 }
		local array2 = { 1, 2, 4 }

		expect(Equals(array1, array2)).to.equal(false)
	end)

	it("should return false for nested arrays", function()
		--[[
      This is because the nested arrays have different memory addresses,
      despite having the same values. Use EqualsDeep instead if you want to
      compare nested arrays.
    --]]
		local array1 = { 1, 2, { 3, 4 } }
		local array2 = { 1, 2, { 3, 4 } }

		expect(Equals(array1, array2)).to.equal(false)
	end)
end
