Updated test for NaN support
This commit is contained in:
parent
4990a03f9e
commit
a57093c4b7
|
@ -99,7 +99,7 @@ public class SlidingWindowStatsTest {
|
|||
assertEquals(window.getWindowValues(), new double[] { 999, 999, 999, 999, 999 });
|
||||
|
||||
window.slideViewTo(12);
|
||||
assertEquals(window.getWindowValues(), new double[] { 999, 999, 999, 0, 0 });
|
||||
assertEquals(window.getWindowValues(), new double[] { 999, 999, 999, Double.NaN, Double.NaN });
|
||||
|
||||
window.addValue(777, 14);
|
||||
window.addValue(888, 17);
|
||||
|
|
Loading…
Reference in New Issue