mirror of
https://github.com/wxd-gaming/test-all.git
synced 2026-05-11 07:56:41 +08:00
【测试】随机数测试
This commit is contained in:
@@ -37,10 +37,10 @@ function DiffTimeDayTest.diffTimeDay()
|
||||
end
|
||||
|
||||
function DiffTimeDayTest.onInit()
|
||||
DiffTimeDayTest.diffTimeDay()
|
||||
|
||||
local tableString = "{key1 = 'value1', key2 = 'value2'}"
|
||||
local t = load("return " .. tableString)()
|
||||
--字符串通过load形式加载成table
|
||||
gameDebug.print("load string", type(t), t)
|
||||
--DiffTimeDayTest.diffTimeDay()
|
||||
--
|
||||
--local tableString = "{key1 = 'value1', key2 = 'value2'}"
|
||||
--local t = load("return " .. tableString)()
|
||||
----字符串通过load形式加载成table
|
||||
--gameDebug.print("load string", type(t), t)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user