local O=import("\046\046\047\069\110\117\109\047\070\105\108\108\068\105\114\101\099\116\105\111\110")local m=import("\046\046\047\069\110\117\109\047\072\111\114\105\122\111\110\116\097\108\065\108\105\103\110\109\101\110\116")local d=import("\046\046\047\069\110\117\109\047\083\111\114\116\079\114\100\101\114")local k=import("\046\046\047\102\117\110\099\116\105\111\110\115\047\116\121\112\101\111\102")local g=import("\046\046\047\069\110\117\109\047\086\101\114\116\105\099\097\108\065\108\105\103\110\109\101\110\116")local o=import("\046\047\085\073\071\114\105\100\083\116\121\108\101\076\097\121\111\117\116")describe("\105\110\115\116\097\110\099\101\115\046\085\073\071\114\105\100\083\116\121\108\101\076\097\121\111\117\116",function()it("\115\104\111\117\108\100 \105\110\115\116\097\110\116\105\097\116\101",function()local O=o:new()assert.not_nil(O)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 x=o:new()assert.equals(k(x.FillDirection),"\069\110\117\109\073\116\101\109")assert.equals(x.FillDirection.EnumType,O)assert.equals(k(x.HorizontalAlignment),"\069\110\117\109\073\116\101\109")assert.equals(x.HorizontalAlignment.EnumType,m)assert.equals(k(x.SortOrder),"\069\110\117\109\073\116\101\109")assert.equals(x.SortOrder.EnumType,d)assert.equals(k(x.VerticalAlignment),"\069\110\117\109\073\116\101\109")assert.equal(x.VerticalAlignment.EnumType,g)assert.equals(k(x.AbsoluteContentSize),"\086\101\099\116\111\114\050")end)end)
local FillDirection = import("../Enum/FillDirection")
local HorizontalAlignment = import("../Enum/HorizontalAlignment")
local SortOrder = import("../Enum/SortOrder")
local typeof = import("../functions/typeof")
local VerticalAlignment = import("../Enum/VerticalAlignment")

local UIGridStyleLayout = import("./UIGridStyleLayout")

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

		assert.not_nil(instance)
	end)

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

		assert.equals(typeof(instance.FillDirection), "EnumItem")
		assert.equals(instance.FillDirection.EnumType, FillDirection)
		assert.equals(typeof(instance.HorizontalAlignment), "EnumItem")
		assert.equals(instance.HorizontalAlignment.EnumType, HorizontalAlignment)
		assert.equals(typeof(instance.SortOrder), "EnumItem")
		assert.equals(instance.SortOrder.EnumType, SortOrder)
		assert.equals(typeof(instance.VerticalAlignment), "EnumItem")
		assert.equal(instance.VerticalAlignment.EnumType, VerticalAlignment)
		assert.equals(typeof(instance.AbsoluteContentSize), "Vector2")
	end)
end)