local function f(f)assert(typeof(f)=="\116\097\098\108\101")assert(typeof(f.start)=="\102\117\110\099\116\105\111\110")assert(typeof(f.stop)=="\102\117\110\099\116\105\111\110")assert(typeof(f.step)=="\102\117\110\099\116\105\111\110")assert(typeof(f.setGoal)=="\102\117\110\099\116\105\111\110")assert(typeof(f.onStep)=="\102\117\110\099\116\105\111\110")assert(typeof(f.onComplete)=="\102\117\110\099\116\105\111\110")assert(typeof(f.destroy)=="\102\117\110\099\116\105\111\110")end return f
local function validateMotor(motor)
	assert(typeof(motor) == "table")
	assert(typeof(motor.start) == "function")
	assert(typeof(motor.stop) == "function")
	assert(typeof(motor.step) == "function")
	assert(typeof(motor.setGoal) == "function")
	assert(typeof(motor.onStep) == "function")
	assert(typeof(motor.onComplete) == "function")
	assert(typeof(motor.destroy) == "function")
end

return validateMotor