sorcery  rand.lua at [ced73b0ebe]

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


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