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 num = [6.59492796e-05, 6.54019884e-05];
17 var den = [1.0, -1.97530991, 0.97530991];
18 var ctx = new liba.tf(num, den);
19 ctx.set_num(num).set_den(den).zero();
20 console.log(ctx.iter(1.0), ctx.iter(1.0));