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