removing examples for a min
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package.path = package.path .. ";?.lua"
|
||||
|
||||
local lu = require("testing.luaunit")
|
||||
require("testing.loveStub") -- Required to mock LOVE functions
|
||||
require("testing.loveStub")
|
||||
local FlexLove = require("FlexLove")
|
||||
|
||||
TestFontFamilyInheritance = {}
|
||||
@@ -94,8 +94,8 @@ function TestFontFamilyInheritance:testInheritanceInFlexContainer()
|
||||
local flexParent = FlexLove.Element.new({
|
||||
width = 300,
|
||||
height = 300,
|
||||
positioning = FlexLove.Positioning.FLEX,
|
||||
flexDirection = FlexLove.FlexDirection.HORIZONTAL,
|
||||
positioning = FlexLove.enums.Positioning.FLEX,
|
||||
flexDirection = FlexLove.enums.FlexDirection.HORIZONTAL,
|
||||
fontFamily = "Courier",
|
||||
})
|
||||
|
||||
@@ -121,7 +121,7 @@ function TestFontFamilyInheritance:testInheritanceInGridContainer()
|
||||
local gridParent = FlexLove.Element.new({
|
||||
width = 300,
|
||||
height = 300,
|
||||
positioning = FlexLove.Positioning.GRID,
|
||||
positioning = FlexLove.enums.Positioning.GRID,
|
||||
gridRows = 2,
|
||||
gridColumns = 2,
|
||||
fontFamily = "Verdana",
|
||||
@@ -183,7 +183,7 @@ function TestFontFamilyInheritance:testInheritanceWithAbsolutePositioning()
|
||||
|
||||
local child = FlexLove.Element.new({
|
||||
parent = parent,
|
||||
positioning = FlexLove.Positioning.ABSOLUTE,
|
||||
positioning = FlexLove.enums.Positioning.ABSOLUTE,
|
||||
x = 50,
|
||||
y = 50,
|
||||
width = 100,
|
||||
|
||||
Reference in New Issue
Block a user