return function()local i=require(script.Parent.removeValues)it("\115\104\111\117\108\100 \114\101\109\111\118\101 \116\104\101 \101\108\101\109\101\110\116\115 \119\105\116\104 \116\104\101 \103\105\118\101\110 \118\097\108\117\101\115",function()local x={1,2;3,4,5}local u=i(x,2,4);(expect(u[1])).to.equal(1);(expect(u[2])).to.equal(3);(expect(u[3])).to.equal(5);(expect(u[4])).never.to.be.ok()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 x={1;2;3;4;5}i(x,2,4);(expect(x[4])).to.equal(4)end)end
return function()
	local RemoveValues = require(script.Parent.removeValues)

	it("should remove the elements with the given values", function()
		local array = { 1, 2, 3, 4, 5 }

		local removed = RemoveValues(array, 2, 4)

		expect(removed[1]).to.equal(1)
		expect(removed[2]).to.equal(3)
		expect(removed[3]).to.equal(5)
		expect(removed[4]).never.to.be.ok()
	end)

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

		RemoveValues(array, 2, 4)

		expect(array[4]).to.equal(4)
	end)
end
