mirror of
https://github.com/TangentFoxy/lume.git
synced 2024-11-19 07:04:24 +00:00
Added type tests for lume.random()
This commit is contained in:
parent
2c3be23a2b
commit
c537d00a47
@ -82,6 +82,9 @@ end
|
||||
|
||||
-- lume.random
|
||||
tests["lume.random"] = function()
|
||||
testeq( type(lume.random()), "number" )
|
||||
testeq( type(lume.random(1)), "number" )
|
||||
testeq( type(lume.random(1, 2)), "number" )
|
||||
end
|
||||
|
||||
-- lume.randomchoice
|
||||
|
Loading…
Reference in New Issue
Block a user