PageRenderTime 9ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/trunk/Examples/test-suite/lua/char_strings_runme.lua

#
Lua | 12 lines | 8 code | 4 blank | 0 comment | 6 complexity | e5dab8ec14367b1569eb3910707db6d4 MD5 | raw file
 1require("import")	-- the import fn
 2import("char_strings")	-- import code
 3
 4assert (char_strings.CharPingPong("hi there") == "hi there")
 5assert (char_strings.CharPingPong(nil) == nil)
 6
 7assert (char_strings.CharArrayPingPong("hi there") == "hi there")
 8assert (char_strings.CharArrayPingPong(nil) == nil)
 9
10assert (char_strings.CharArrayDimsPingPong("hi there") == "hi there")
11assert (char_strings.CharArrayDimsPingPong(nil) == nil)
12