Differences From Artifact [1bb191f684]:
- File test/rand.lua — part of check-in [956134c50b] at 2020-08-11 21:39:39 on branch trunk — initial commit (user: lexi, size: 98) [annotate] [blame] [check-ins using]
To Artifact [a1bc3992a0]:
- File test/rand.lua — part of check-in [82178e0a16] at 2020-08-16 02:05:40 on branch trunk — changes, merges, additions galore (user: lexi, size: 232) [annotate] [blame] [check-ins using] [more...]
1 2 3 4 |
local str = dofile "lib/str.lua"
local rnd = str.rand(5,45)
print(rnd)
print(str.capitalize(rnd))
|
> < > > > > |
1 2 3 4 5 6 7 8 |
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() |