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

12 lines
402 B
JavaScript

var char_strings = require("char_strings");
var assertIsEqual = function(expected, actual) {
if (expected !== actual) {
throw new Error("Expected "+expected+", was "+actual);
}
};
assertIsEqual("hi there", char_strings.CharPingPong("hi there"));
assertIsEqual("hi there", char_strings.CharArrayPingPong("hi there"));
assertIsEqual("hi there", char_strings.CharArrayDimsPingPong("hi there"));