return function()local v=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local E=v.Packages local L=require(E.Llama)local C=L.Dictionary local p=C.removeValues it("\115\104\111\117\108\100 \118\097\108\105\100\097\116\101 \116\121\112\101\115",function()local v,E=pcall(function()p(0)end);(expect(string.find(E,"\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 v={llama="\099\111\111\108"}local E=p(v,"\099\111\111\108");(expect(E)).never.to.equal(v);(expect(E)).to.be.a("\116\097\098\108\101")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 v={foo=1,bar=2;baz=3}local E=0 setmetatable(v,{__newindex=function()E=E+1 end})p(v,"\102\111\111");(expect(E)).to.equal(0)end)it("\115\104\111\117\108\100 \114\101\109\111\118\101 \109\117\108\116\105\112\108\101 \118\097\108\117\101\115",function()local v={foo=1,bar=2,baz=3}local E=p(v,2,3);(expect(E.bar)).never.to.be.ok();(expect(E.baz)).never.to.be.ok()end)it("\115\104\111\117\108\100 \119\111\114\107 \101\118\101\110 \105\102 \118\097\108\117\101 \100\111\101\115 \110\111\116 \101\120\105\115\116",function()local v={foo=1;bar=2};(expect(function()p(v,"\098\097\122")end)).never.to.throw()end)end
return function()
	local ReplicatedStorage = game:GetService("ReplicatedStorage")

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

	local Dictionary = Llama.Dictionary
	local removeValues = Dictionary.removeValues

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

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

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

		local b = removeValues(a, "cool")

		expect(b).never.to.equal(a)
		expect(b).to.be.a("table")
	end)

	it("should not mutate passed in tables", function()
		local a = {
			foo = 1,
			bar = 2,
			baz = 3,
		}
		local mutations = 0

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

		removeValues(a, "foo")

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

	it("should remove multiple values", function()
		local a = {
			foo = 1,
			bar = 2,
			baz = 3,
		}

		local b = removeValues(a, 2, 3)

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

	it("should work even if value does not exist", function()
		local a = {
			foo = 1,
			bar = 2,
		}

		expect(function()
			removeValues(a, "baz")
		end).never.to.throw()
	end)
end