mirror of
https://github.com/TangentFoxy/lume.git
synced 2025-07-28 02:52:21 +00:00
Added type tests for lume.random()
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user