expression.getVariables().setVariable("a",5);
Assert.assertEquals(5,expression.evaluate().toFloatValue(),Encog.DEFAULT_DOUBLE_EQUAL);
}
public void testAssignment2() {
EncogProgram expression = new EncogProgram("cccc*(aa+bbb)");
expression.getVariables().setVariable("aa",1);
expression.getVariables().setVariable("bbb",2);
expression.getVariables().setVariable("cccc",3);
Assert.assertEquals(9,expression.evaluate().toFloatValue(),Encog.DEFAULT_DOUBLE_EQUAL);
}