mirror of
https://github.com/TangentFoxy/lume.git
synced 2026-03-14 12:46:51 -06: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