mirror of
https://github.com/TangentFoxy/lume.git
synced 2025-10-02 07:22:28 +00:00
Added type tests for lume.random()
This commit is contained in:
@@ -82,6 +82,9 @@ end
|
|||||||
|
|
||||||
-- lume.random
|
-- lume.random
|
||||||
tests["lume.random"] = function()
|
tests["lume.random"] = function()
|
||||||
|
testeq( type(lume.random()), "number" )
|
||||||
|
testeq( type(lume.random(1)), "number" )
|
||||||
|
testeq( type(lume.random(1, 2)), "number" )
|
||||||
end
|
end
|
||||||
|
|
||||||
-- lume.randomchoice
|
-- lume.randomchoice
|
||||||
|
Reference in New Issue
Block a user