swig/Examples/test-suite/javascript/operbool_runme.js

6 lines
134 B
JavaScript

var operbool = require("operbool");
const b = new operbool.Test();
if (b.operator_bool()) {
throw new Error("operbool failed");
}