blob: bc970f019a51858c8132fbb0084b0aa014844382 [file] [log] [blame]
var input = require("input");
f = new input.Foo();
if (f.foo(2) != 4) {
throw new Error;
}
if (f.foo(null) != null) {
throw new Error;
}
if (f.foo() != null) {
throw new Error;
}
if (input.sfoo("Hello") != "Hello world") {
throw new Error;
}
if (input.sfoo() != null) {
throw new Error;
}