local x=import("\046\047\082\117\110\083\101\114\118\105\099\101")local K=import("\046\046\047\083\105\103\110\097\108")describe("\105\110\115\116\097\110\099\101\115\046\082\117\110\083\101\114\118\105\099\101",function()it("\115\104\111\117\108\100 \105\110\115\116\097\110\116\105\097\116\101",function()local K=x:new()assert.not_nil(K)assert.not_nil(K.Heartbeat)end)it("\115\104\111\117\108\100 \104\097\118\101 \116\104\101 \110\097\109\101 \'\082\117\110 \083\101\114\118\105\099\101\'",function()local K=x:new()assert.is_equal(K.Name,"\082\117\110 \083\101\114\118\105\099\101")end)it("\115\104\111\117\108\100 \114\101\116\117\114\110 \102\097\108\115\101 \119\104\101\110 \073\115\083\116\117\100\105\111\040\041 \105\115 \099\097\108\108\101\100",function()local K=x:new()assert.is_equal(K:IsStudio(),false)end)it("\115\104\111\117\108\100 \114\101\116\117\114\110 \097 \098\111\111\108 \119\104\101\110 \073\115\083\101\114\118\101\114\040\041 \105\115 \099\097\108\108\101\100",function()local K=x:new()assert.is_equal(type(K:IsServer()),"\098\111\111\108\101\097\110")end)it("\115\104\111\117\108\100 \104\097\118\101 \112\114\111\112\101\114\116\105\101\115 \100\101\102\105\110\101\100",function()local w=x:new()assert.equals(w.Heartbeat.__index,K)assert.equals(w.RenderStepped.__index,K)end)end)
local RunService = import("./RunService")
local Signal = import("../Signal")

describe("instances.RunService", function()
	it("should instantiate", function()
		local instance = RunService:new()

		assert.not_nil(instance)
		assert.not_nil(instance.Heartbeat)
	end)

	it("should have the name 'Run Service'", function()
		local instance = RunService:new()
		assert.is_equal(instance.Name, "Run Service")
	end)

	it("should return false when IsStudio() is called", function()
		local instance = RunService:new()
		assert.is_equal(instance:IsStudio(), false)
	end)

	it("should return a bool when IsServer() is called", function()
		local instance = RunService:new()
		assert.is_equal(type(instance:IsServer()), "boolean")
	end)

	it("should have properties defined", function()
		local instance = RunService:new()

		assert.equals(instance.Heartbeat.__index, Signal)
		assert.equals(instance.RenderStepped.__index, Signal)
	end)
end)