question: private void doTest ( StepNormalizerMode mode , StepNormalizerBounds bounds , double [ ] expected , boolean reverse ) throws MathIllegalArgumentException , MathIllegalStateException { ODEIntegrator integ = new GraggBulirschStoerIntegrator ( 1e-8 , 1.0 , 1e-5 , 1e-5 ) ; integ . addStepHandler ( new StepNormalizer ( 0.5 , this , mode , bounds ) ) ; double [ ] y = { 0.0 } ; double start = reverse ? getEnd ( ) : getStart ( ) ; double end = reverse ? getStart ( ) : getEnd ( ) ; output = new ArrayList < Double > ( ) ; integ . integrate ( this , new ODEState ( start , y ) , end ) ; double [ ] actual = new double [ output . size ( ) ] ; for ( int i = 0 ; i < actual . length ; i ++ ) { actual [ i ] = output . get ( i ) ; } Assert . assertArrayEquals ( expected , actual , 1e-5 ) ; }
target:  The actual step normalizer output test code, shared by all the unit tests.