Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/test-suite/lua/char_strings_runme.lua
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

13 lines
429 B
Lua

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)