public void testEvaluateSubtract() throws Exception {
Expression subtract = new ASTSubtract(new Object[] {
new Integer(1), new Double(0.1), new Double(0.2)
});
assertEquals(0.7, ((Number) subtract.evaluate(null)).doubleValue(), 0.0001);
}
public void testEvaluateMultiply() throws Exception {
Expression multiply = new ASTMultiply(new Object[] {
new Integer(2), new Double(3.5)