committed by
Jérôme Leclercq
parent
7c1ffea19c
commit
dfd28160a0
24
tests/resources/Engine/Lua/LuaClass.lua
Normal file
24
tests/resources/Engine/Lua/LuaClass.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
function test_Test()
|
||||
local test = Test(1)
|
||||
|
||||
local i = test:GetI()
|
||||
local result = Test.StaticMethodWithArguments(i, i)
|
||||
local finalTest = Test(result + test:GetDefault(), true)
|
||||
|
||||
CheckTest(test)
|
||||
CheckStatic(result)
|
||||
CheckFinalTest(finalTest)
|
||||
end
|
||||
|
||||
function test_InheritTest()
|
||||
local test = InheritTest()
|
||||
|
||||
CheckInheritTest(test)
|
||||
end
|
||||
|
||||
function test_TestHandle()
|
||||
local test = TestHandle()
|
||||
|
||||
CheckTestHandle()
|
||||
end
|
||||
Reference in New Issue
Block a user