sorcery  rand.lua at trunk

File test/rand.lua artifact a1bc3992a0 on branch trunk


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