2 var liba = require("../liba");
3 function assert(expr, info) {
5 throw Error("assertion failed: " + info);
8 function do_leak_check() {
9 for (const arg of arguments) {
12 if (liba.do_leak_check) {
16 var ctx = new liba.trajpoly3(1, 0, 1, 0, 1);
20 for (var i = 0; i < 1; i += 0.1) {
21 console.log(i, ctx.pos(i), ctx.vel(i), ctx.acc(i));