// recent 5 minutes. Since they're bigger/smaller than all the rest of the data values, the new max/min
// values should reflect them regardless of which older data points they preempted.
clock.advanceTime(1800L * NUM_MSECS_IN_SEC * NUM_NSECS_IN_MSEC); // new data show up 30 min after initial set
res.update(20.0);
res.update(0.0);
dataValues = res.getUnsortedValues();
assertEquals("expected size for dataValues array", 10, dataValues.length);
result = StatUtils.max(dataValues);
assertEquals("unexpected max", 20.0, result);