2 const liba = require("../liba");
3 function do_leak_check() {
4 for (const arg of arguments) {
7 if (liba.do_leak_check) {
11 var ctx = new liba.lpf(10, 0.01);
12 ctx.gen(10, 0.01).zero();
13 console.log(ctx.iter(1.0), ctx.iter(1.0));
14 console.log(ctx.alpha, ctx.output);
16 var ctx = new liba.lpf(0.1);
17 console.log(ctx.iter(1.0), ctx.iter(1.0));
18 console.log(ctx.alpha, ctx.output);