local K=import("\046\047\087\111\114\107\115\112\097\099\101")local T=import("\046\046\047\102\117\110\099\116\105\111\110\115\047\116\121\112\101\111\102")describe("\105\110\115\116\097\110\099\101\115\046\087\111\114\107\115\112\097\099\101",function()it("\115\104\111\117\108\100 \105\110\115\116\097\110\116\105\097\116\101",function()local y=K:new()assert.not_nil(y)assert.equal(T(y.Gravity),"\110\117\109\098\101\114")end)describe("\067\117\114\114\101\110\116\067\097\109\101\114\097",function()it("\115\104\111\117\108\100 \098\101 \097\110 \111\098\106\101\099\116 \111\102 \116\121\112\101 \067\097\109\101\114\097",function()local y=K:new()local o=y.CurrentCamera assert.not_nil(o)assert.equal(T(o),"\073\110\115\116\097\110\099\101")end)it("\115\104\111\117\108\100 \098\101 \097\099\099\101\115\115\105\098\108\101 \097\115 \097 \099\104\105\108\100 \110\097\109\101\100 \067\097\109\101\114\097",function()local T=K:new()local y=T:WaitForChild("\067\097\109\101\114\097")assert.not_nil(y)assert.equals(T.CurrentCamera,y)end)end)end)
local Workspace = import("./Workspace")
local typeof = import("../functions/typeof")

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

		assert.not_nil(instance)
		assert.equal(typeof(instance.Gravity), "number")
	end)

	describe("CurrentCamera", function()
		it("should be an object of type Camera", function()
			local instance = Workspace:new()
			local camera = instance.CurrentCamera

			assert.not_nil(camera)
			assert.equal(typeof(camera), "Instance")
		end)

		it("should be accessible as a child named Camera", function()
			local instance = Workspace:new()
			local camera = instance:WaitForChild("Camera")

			assert.not_nil(camera)
			assert.equals(instance.CurrentCamera, camera)
		end)
	end)
end)