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 +dofile'test/common.lua' 1 2 local str = dofile "lib/str.lua" 2 3 local rnd = str.rand(5,45) 3 4 print(rnd) 4 -print(str.capitalize(rnd)) 5 + 6 +test('random strings do not match',str.rand(5,45) ~= str.rand(5,45)) 7 +test('strings are correct length',#str.rand(44,45) == 45) 8 +report()