sorcery  rand.lua at [e408b8d0e0]

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


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