blob: fe17cb98277910d1e78f14f88b7880e369e10f19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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"));
|