return function()local F=require(script.Parent.some)it("\115\104\111\117\108\100 \114\101\116\117\114\110 \116\114\117\101 \105\102 \116\104\101 \103\105\118\101\110 \112\114\101\100\105\099\097\116\101 \114\101\116\117\114\110\115 \116\114\117\101 \102\111\114 \097\110\121 \101\108\101\109\101\110\116",function()local r={1,2;3}local U=F(r,function(F)return F==2 end);(expect(U)).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 \103\105\118\101\110 \112\114\101\100\105\099\097\116\101 \114\101\116\117\114\110\115 \102\097\108\115\101 \102\111\114 \097\108\108 \101\108\101\109\101\110\116\115",function()local r={1;2,3}local U=F(r,function(F)return F==4 end);(expect(U)).to.equal(false)end)end
return function()
	local Some = require(script.Parent.some)

	it("should return true if the given predicate returns true for any element", function()
		local array = { 1, 2, 3 }

		local result = Some(array, function(value)
			return value == 2
		end)

		expect(result).to.equal(true)
	end)

	it("should return false if the given predicate returns false for all elements", function()
		local array = { 1, 2, 3 }

		local result = Some(array, function(value)
			return value == 4
		end)

		expect(result).to.equal(false)
	end)
end
