local u=import("\046\046\047\073\110\115\116\097\110\099\101")local s=import("\046\046\047\102\117\110\099\116\105\111\110\115\047\116\121\112\101\111\102")local f=import("\046\046\047\069\110\117\109\047\090\073\110\100\101\120\066\101\104\097\118\105\111\114")describe("\105\110\115\116\097\110\099\101\115\046\083\099\114\101\101\110\071\117\105",function()it("\115\104\111\117\108\100 \105\110\115\116\097\110\116\105\097\116\101",function()local s=u.new("\083\099\114\101\101\110\071\117\105")assert.not_nil(s)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 d=u.new("\083\099\114\101\101\110\071\117\105")assert.equals(s(d.AbsolutePosition),"\086\101\099\116\111\114\050")assert.equals(s(d.AbsoluteSize),"\086\101\099\116\111\114\050")assert.equals(s(d.DisplayOrder),"\110\117\109\098\101\114")assert.equals(s(d.AutoLocalize),"\098\111\111\108\101\097\110")assert.equals(s(d.IgnoreGuiInset),"\098\111\111\108\101\097\110")assert.equals(s(d.ZIndexBehavior),"\069\110\117\109\073\116\101\109")assert.equals(s(d.OnTopOfCoreBlur),"\098\111\111\108\101\097\110")assert.equals(s(d.Enabled),"\098\111\111\108\101\097\110")assert.equals(d.ZIndexBehavior.EnumType,f)end)end)
local Instance = import("../Instance")
local typeof = import("../functions/typeof")
local ZIndexBehavior = import("../Enum/ZIndexBehavior")

describe("instances.ScreenGui", function()
	it("should instantiate", function()
		local instance = Instance.new("ScreenGui")

		assert.not_nil(instance)
	end)

	it("should have properties defined", function()
		local instance = Instance.new("ScreenGui")

		assert.equals(typeof(instance.AbsolutePosition), "Vector2")
		assert.equals(typeof(instance.AbsoluteSize), "Vector2")
		assert.equals(typeof(instance.DisplayOrder), "number")
		assert.equals(typeof(instance.AutoLocalize), "boolean")
		assert.equals(typeof(instance.IgnoreGuiInset), "boolean")
		assert.equals(typeof(instance.ZIndexBehavior), "EnumItem")
		assert.equals(typeof(instance.OnTopOfCoreBlur), "boolean")
		assert.equals(typeof(instance.Enabled), "boolean")
		assert.equals(instance.ZIndexBehavior.EnumType, ZIndexBehavior)
	end)
end)
