Package pl.edu.amu.wmi.daut.re.EscapeOperator

Examples of pl.edu.amu.wmi.daut.re.EscapeOperator.Factory.createOperator()


    public void testFactory() {
        Factory factory = new Factory();
        assertEquals(factory.numberOfParams(), 1);
        ArrayList list = new ArrayList<String>();
        list.add("\13");
        RegexpOperator operator = factory.createOperator(list);
        int arity = operator.arity();
        assertEquals(arity, 0);
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.