sorcery  Diff

Differences From Artifact [1bb191f684]:

To Artifact [a1bc3992a0]:


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