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

7 lines
156 B
JavaScript

#!/usr/bin/env python
var operbool = require("operbool");
const b = new operbool.Test();
if (b.operator_bool()) {
throw new Error("operbool failed");
}