We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e18f913 commit b45cb97Copy full SHA for b45cb97
1 file changed
Move_To_Front_Transform/Lua/Yonaba/mtf_test.lua
@@ -34,6 +34,7 @@ run('Encoding string tests', function()
34
assert(mtf.encode('') == '')
35
assert(mtf.encode(' ') == '32.1.1.1.1')
36
assert(mtf.encode('mtf') == '109.116.104')
37
+ assert(mtf.encode('M.T.F.') == '77.47.84.2.72.2')
38
end)
39
40
run('Decoding string tests', function()
@@ -42,6 +43,7 @@ run('Decoding string tests', function()
42
43
assert(mtf.decode(mtf.encode(' ')) == ' ')
44
assert(mtf.decode(mtf.encode('')) == '')
45
assert(mtf.decode(mtf.encode('mtf')) == 'mtf')
46
+ assert(mtf.decode(mtf.encode('M.T.F.')) == 'M.T.F.')
47
48
49
print(('-'):rep(80))
0 commit comments