*/
public class RK45IntegratorTest extends TestCase {
public void testIntegrate() {
VanderPol system = new VanderPol(new float[]{.1f, .1f});
Integrator integrator = new RK45Integrator();
TimeSeries input = new TimeSeriesImpl(new float[]{0, 10f}, new float[][]{new float[0], new float[0]}, new Units[]{});
TimeSeries result = integrator.integrate(system, input);
assertTrue(result.getTimes().length < 60);
//check results against selected hard-coded values from matlab solution ...
InterpolatorND interpolator = new LinearInterpolatorND(result);