@Test
public void specialEval1() {

	final String expr = "(((((x - x) + (1.0*x))*((8.0 - 8.0)*(9.0*x))) + " +
		"(((8.0 - 9.0) + (x + x)) + ((x - 6.0)*(5.0*0.0)))) - ((((8.0 + 4.0)" +
		" - (x + x))*((x - x)*(6.0 - 9.0)))*(((x - 7.0) - (6.0 - x))*((2.0*x) " +
		"+ (x + 8.0)))))";
	final double arg = new Random().nextDouble();
	Assert.assertEquals(
		MathExpr.eval(expr, arg),
		MathExpr.eval("(-1.0 + (x + x))", arg)
	);
}