/trunk/Examples/test-suite/lua/char_strings_runme.lua
# · Lua · 12 lines · 8 code · 4 blank · 0 comment · 6 complexity · e5dab8ec14367b1569eb3910707db6d4 MD5 · raw file
- require("import") -- the import fn
- import("char_strings") -- import code
- assert (char_strings.CharPingPong("hi there") == "hi there")
- assert (char_strings.CharPingPong(nil) == nil)
- assert (char_strings.CharArrayPingPong("hi there") == "hi there")
- assert (char_strings.CharArrayPingPong(nil) == nil)
- assert (char_strings.CharArrayDimsPingPong("hi there") == "hi there")
- assert (char_strings.CharArrayDimsPingPong(nil) == nil)