Op quad=Quadratic.create(Math.random(), Math.random(), Math.random());
Op ddquad=quad.getDerivativeOp().getDerivativeOp();
Op dddquad=ddquad.getDerivativeOp();
assertEquals(Constant.class,ddquad.getClass());
assertEquals(0.0,dddquad.apply(Math.random()),0.00001);
Op sum=Constant.create(10).sum(sin);
assertTrue(cos==sum.getDerivativeOp());
}