Tweak test to defeat slow CI again
This commit is contained in:
@@ -113,7 +113,11 @@ public class ExponentialMovingAverageRatioTests {
|
||||
assertFalse(0==history.getStandardDeviation());
|
||||
history.reset();
|
||||
assertEquals(0, history.getStandardDeviation(), 0.01);
|
||||
assertEquals("[[N=0, min=0.000000, max=0.000000, mean=1.000000, sigma=0.000000], timeSinceLast=0.000000]", history.toString());
|
||||
assertEquals(0, history.getCount());
|
||||
assertEquals(0, history.getTimeSinceLastMeasurement(), 0.01);
|
||||
assertEquals(1, history.getMean(), 0.01);
|
||||
assertEquals(0, history.getMin(), 0.01);
|
||||
assertEquals(0, history.getMax(), 0.01);
|
||||
}
|
||||
|
||||
private double average(double... values) {
|
||||
|
||||
Reference in New Issue
Block a user