Oops, should not have added fail here
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003545 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5e5ba778cb
commit
cb1c8dc986
|
@ -159,12 +159,10 @@ public class ContinuousOutputModelTest
|
||||||
ContinuousOutputModel otherCm = new ContinuousOutputModel();
|
ContinuousOutputModel otherCm = new ContinuousOutputModel();
|
||||||
otherCm.handleStep(buildInterpolator(t0, y0, t1), true);
|
otherCm.handleStep(buildInterpolator(t0, y0, t1), true);
|
||||||
cm.append(otherCm);
|
cm.append(otherCm);
|
||||||
fail("Expecting IllegalArgumentException");
|
|
||||||
} catch(IllegalArgumentException iae) {
|
} catch(IllegalArgumentException iae) {
|
||||||
//expected behavior
|
return true; // there was an allowable error
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
return false;
|
return false; // no allowable error
|
||||||
}
|
}
|
||||||
|
|
||||||
private StepInterpolator buildInterpolator(double t0, double[] y0, double t1) {
|
private StepInterpolator buildInterpolator(double t0, double[] y0, double t1) {
|
||||||
|
|
Loading…
Reference in New Issue