use of suite.lp.compile.impl.CompileBinderImpl in project suite by stupidsing.
the class BinderFactoryTest method test.
private void test(String pattern, String match) {
for (BinderFactory bf : new BinderFactory[] { //
new CompileBinderImpl0(), //
new CompileBinderImpl(), new SewingBinderImpl() }) {
Node node = new Generalizer().generalize(Suite.parse(pattern));
Bind_ p = bf.binder(node);
BindEnv be = new BindEnv(bf.mapper().env());
assertTrue(p.test(be, Suite.parse(match)));
}
}
Aggregations