use of com.dexels.navajo.expression.compiled.GiveMoneyTestFunction in project navajo by Dexels.
the class TestCompiledMoneyExpression method setup.
@Before
public void setup() {
FunctionInterface giveLongFunction = new GiveLongTestFunction();
FunctionDefinition fd = new FunctionDefinition(giveLongFunction.getClass().getName(), "description", "input", "result");
FunctionFactoryFactory.getInstance().addExplicitFunctionDefinition("ToLong", fd);
FunctionInterface giveMoneyFunction = new GiveMoneyTestFunction();
fd = new FunctionDefinition(giveMoneyFunction.getClass().getName(), "description", "input", "result");
FunctionFactoryFactory.getInstance().addExplicitFunctionDefinition("ToMoney", fd);
}
Aggregations