diff --git a/test/test_lume.lua b/test/test_lume.lua index 8cc0e32..c965c9b 100644 --- a/test/test_lume.lua +++ b/test/test_lume.lua @@ -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