return function()local W=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local Y=W.Packages local R=require(Y.Llama)local I=R.Set local G=I.subtract it("\115\104\111\117\108\100 \118\097\108\105\100\097\116\101 \116\121\112\101\115",function()local W,Y=pcall(function()G(0)end);(expect(string.find(Y,"\101\120\112\101\099\116\101\100\044 \103\111\116"))).to.be.ok()end)it("\115\104\111\117\108\100 \114\101\116\117\114\110 \097 \110\101\119 \116\097\098\108\101",function()local W={};(expect(G(W,"\101"))).never.to.equal(W)end)it("\115\104\111\117\108\100 \110\111\116 \109\117\116\097\116\101 \112\097\115\115\101\100 \105\110 \116\097\098\108\101\115",function()local W={foo=true,bar=true;baz=true}local Y=0 setmetatable(W,{__newindex=function()Y=Y+1 end})G(W,"\102\111\111\098\097\114");(expect(Y)).to.equal(0)end)it("\115\104\111\117\108\100 \115\117\098\116\114\097\099\116 \112\114\111\118\105\100\101\100 \101\110\116\114\105\101\115",function()local W={foo=true,bar=true;baz=true}local Y=G(W,"\102\111\111","\098\097\114");(expect(Y.foo)).never.to.be.ok();(expect(Y.bar)).never.to.be.ok();(expect(Y.baz)).to.equal(true)end)end
return function()
	local ReplicatedStorage = game:GetService("ReplicatedStorage")

	local Packages = ReplicatedStorage.Packages
	local Llama = require(Packages.Llama)

	local Set = Llama.Set
	local subtract = Set.subtract

	it("should validate types", function()
		local _, err = pcall(function()
			subtract(0)
		end)

		expect(string.find(err, "expected, got")).to.be.ok()
	end)

	it("should return a new table", function()
		local a = {}

		expect(subtract(a, "e")).never.to.equal(a)
	end)
	
	it("should not mutate passed in tables", function()
		local a = {
			foo = true,
			bar = true,
			baz = true,
		}
		local mutations = 0

		setmetatable(a, {
			__newindex = function()
				mutations = mutations + 1
			end
		})

		subtract(a, "foobar")

		expect(mutations).to.equal(0)
	end)

	it("should subtract provided entries", function()
		local a = {
			foo = true,
			bar = true,
			baz = true,
		}

		local b = subtract(a, "foo", "bar")

		expect(b.foo).never.to.be.ok()
		expect(b.bar).never.to.be.ok()
		expect(b.baz).to.equal(true)
	end)
end