return function()local z=require(script.Parent.isMotor)local a=require(script.Parent.SingleMotor)local h=require(script.Parent.GroupMotor)local n=a.new(0)local P=h.new({})it("\115\104\111\117\108\100 \112\114\111\112\101\114\108\121 \100\101\116\101\099\116 \109\111\116\111\114\115",function()(expect(z(n))).to.equal(true);(expect(z(P))).to.equal(true)end)it("\115\104\111\117\108\100\110\'\116 \100\101\116\101\099\116 \116\104\105\110\103\115 \116\104\097\116 \097\114\101\110\'\116 \109\111\116\111\114\115",function()(expect(z({}))).to.equal(false)end)it("\115\104\111\117\108\100 \114\101\116\117\114\110 \116\104\101 \112\114\111\112\101\114 \109\111\116\111\114 \116\121\112\101",function()local a,h=z(n)local f,M=z(P);(expect(h)).to.equal("\083\105\110\103\108\101");(expect(M)).to.equal("\071\114\111\117\112")end)end
return function()
	local isMotor = require(script.Parent.isMotor)

	local SingleMotor = require(script.Parent.SingleMotor)
	local GroupMotor = require(script.Parent.GroupMotor)

	local singleMotor = SingleMotor.new(0)
	local groupMotor = GroupMotor.new({})

	it("should properly detect motors", function()
		expect(isMotor(singleMotor)).to.equal(true)
		expect(isMotor(groupMotor)).to.equal(true)
	end)

	it("shouldn't detect things that aren't motors", function()
		expect(isMotor({})).to.equal(false)
	end)

	it("should return the proper motor type", function()
		local _, singleMotorType = isMotor(singleMotor)
		local _, groupMotorType = isMotor(groupMotor)

		expect(singleMotorType).to.equal("Single")
		expect(groupMotorType).to.equal("Group")
	end)
end
