return function()local L=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 \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 \111\102 \116\104\101 \118\097\108\117\101\115",function()local s={hello="\114\111\098\108\111\120";goodbye="\119\111\114\108\100"}local l=L(s,function(L)return L=="\114\111\098\108\111\120"end);(expect(l)).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 \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 \111\102 \116\104\101 \118\097\108\117\101\115",function()local s={hello="\114\111\098\108\111\120",goodbye="\119\111\114\108\100"}local l=L(s,function(L)return L=="\104\101\108\108\111"end);(expect(l)).to.equal(false)end)end
return function()
	local Some = require(script.Parent.some)

	it("should return true if the predicate returns true for any of the values", function()
		local dictionary = { hello = "roblox", goodbye = "world" }

		local result = Some(dictionary, function(value)
			return value == "roblox"
		end)

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

	it("should return false if the predicate returns false for all of the values", function()
		local dictionary = { hello = "roblox", goodbye = "world" }

		local result = Some(dictionary, function(value)
			return value == "hello"
		end)

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