local C=require(script.Parent.Parent)return function()it("\115\104\111\117\108\100 \099\114\101\097\116\101 \097\110 \101\102\102\101\099\116",function()(expect(C.CreateEffect("\095\116\101\115\116 \101\102\102\101\099\116"))).to.be.a("\116\097\098\108\101")end)it("\115\104\111\117\108\100 \110\111\116 \097\108\108\111\119 \115\097\109\101 \110\097\109\101\115",function()(expect(function()C.CreateEffect("\095\116\101\115\116 \101\102\102\101\099\116")end)).to.throw("\068\111\117\098\108\101 \114\101\103\105\115\116\114\097\116\105\111\110")end)end
local refx = require(script.Parent.Parent)

return function()
	it("should create an effect", function()
		expect(refx.CreateEffect("_test effect")).to.be.a("table")
	end)

	it("should not allow same names", function()
		expect(function()
			refx.CreateEffect("_test effect")
		end).to.throw("Double registration")
	end)
end
