1 import * as a
from "liba.so";
2 function assert(expr
) {
7 var ctx
= new a
.hpf(10, 0.01);
10 assert("ctx.alpha != undefined");
11 assert("ctx.output != undefined");
12 assert("ctx.input != undefined");
13 var ctx
= new a
.hpf(0.1);
16 assert("ctx.alpha != undefined");
17 assert("ctx.output != undefined");
18 assert("ctx.input != undefined");