sorcery  rand.lua at [5de2e733a4]

File test/rand.lua artifact a1bc3992a0 part of check-in 5de2e733a4


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()