Additional test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1176809 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5313f6aaae
commit
4471616be7
|
@ -1648,6 +1648,13 @@ public final class MathUtilsTest {
|
||||||
} catch (NonMonotonicSequenceException e) {
|
} catch (NonMonotonicSequenceException e) {
|
||||||
// Expected
|
// Expected
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
|
MathUtils.checkOrder(new double[] {3, 0, -5.5, -11, -10},
|
||||||
|
MathUtils.OrderDirection.DECREASING, false);
|
||||||
|
Assert.fail("an exception should have been thrown");
|
||||||
|
} catch (NonMonotonicSequenceException e) {
|
||||||
|
// Expected
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue