sorcery  rand.lua at [3354e2aa29]

File test/rand.lua artifact a1bc3992a0 part of check-in 3354e2aa29


dofile'test/common.lua'
local str = dofile "lib/str.lua"
local rnd = str.rand(5,45)
print(rnd)

test('random strings do not match',str.rand(5,45) ~= str.rand(5,45))
test('strings are correct length',#str.rand(44,45) == 45)
report()