return function()local i=require(script.Parent.count)it("\115\104\111\117\108\100 \099\111\117\110\116 \116\104\101 \110\117\109\098\101\114 \111\102 \118\097\108\117\101\115 \105\110 \097 \115\101\116",function()local k={hello=true,world=true};(expect(i(k))).to.equal(2)end)it("\115\104\111\117\108\100 \099\111\117\110\116 \116\104\101 \110\117\109\098\101\114 \111\102 \118\097\108\117\101\115 \105\110 \097 \115\101\116 \109\097\116\099\104\105\110\103 \116\104\101 \112\114\101\100\105\099\097\116\101",function()local k={hello=true,world=true};(expect(i(k,function(i)return i=="\104\101\108\108\111"end))).to.equal(1)end)end
return function()
	local count = require(script.Parent.count)

	it("should count the number of values in a set", function()
		local set = { hello = true, world = true }

		expect(count(set)).to.equal(2)
	end)

	it("should count the number of values in a set matching the predicate", function()
		local set = { hello = true, world = true }

		expect(count(set, function(value)
			return value == "hello"
		end)).to.equal(1)
	end)
end
