return function()local O=require(script.Parent.Parent.Type)local H=require(script.Parent.Event)it("\115\104\111\117\108\100 \121\105\101\108\100 \101\118\101\110\116 \111\098\106\101\099\116\115 \119\104\101\110 \105\110\100\101\120\101\100",function()(expect(O.of(H.MouseButton1Click))).to.equal(O.HostEvent);(expect(O.of(H.Touched))).to.equal(O.HostEvent)end)it("\115\104\111\117\108\100 \121\105\101\108\100 \116\104\101 \115\097\109\101 \111\098\106\101\099\116 \119\104\101\110 \105\110\100\101\120\101\100 \097\103\097\105\110",function()local O=H.MouseButton1Click local p=H.MouseButton1Click local g=H.Touched;(expect(O)).to.equal(p);(expect(O)).never.to.equal(g)end)end
return function()
	local Type = require(script.Parent.Parent.Type)

	local Event = require(script.Parent.Event)

	it("should yield event objects when indexed", function()
		expect(Type.of(Event.MouseButton1Click)).to.equal(Type.HostEvent)
		expect(Type.of(Event.Touched)).to.equal(Type.HostEvent)
	end)

	it("should yield the same object when indexed again", function()
		local a = Event.MouseButton1Click
		local b = Event.MouseButton1Click
		local c = Event.Touched

		expect(a).to.equal(b)
		expect(a).never.to.equal(c)
	end)
end