BracketingNthOrderBrentSolverDFP { public int getMaximalOrder() { return maximalOrder; } BracketingNthOrderBrentSolverDFP(final Dfp relativeAccuracy,
                                            final Dfp absoluteAccuracy,
                                            final Dfp functionValueAccuracy,
                                            final int maximalOrder); int getMaximalOrder(); int getMaxEvaluations(); int getEvaluations(); Dfp getAbsoluteAccuracy(); Dfp getRelativeAccuracy(); Dfp getFunctionValueAccuracy(); Dfp solve(final int maxEval, final UnivariateDfpFunction f,
                     final Dfp min, final Dfp max, final AllowedSolution allowedSolution); Dfp solve(final int maxEval, final UnivariateDfpFunction f,
                     final Dfp min, final Dfp max, final Dfp startValue,
                     final AllowedSolution allowedSolution);  }
@Test public void testConstructorOK() { BracketingNthOrderBrentSolverDFP solver = new BracketingNthOrderBrentSolverDFP(relativeAccuracy, absoluteAccuracy, functionValueAccuracy, 2); Assert.assertEquals(2, solver.getMaximalOrder()); }