}
@Test
public void testFloatQuantileAggregator() {
final List<EmitValue> values = new ArrayList<EmitValue>();
values.add(new EmitValue(3));
values.add(new EmitValue(6));
values.add(new EmitValue(7));
values.add(new EmitValue(8));
values.add(new EmitValue(8));
values.add(new EmitValue(10));
values.add(new EmitValue(13));
values.add(new EmitValue(15));
values.add(new EmitValue(16));
values.add(new EmitValue(20));
final ReduceDriver<EmitKey, EmitValue, Text, NullWritable> reduceDriver = new ReduceDriver<EmitKey, EmitValue, Text, NullWritable>(
new FloatQuartileSizzleReducer());
reduceDriver.setInput(new EmitKey("test"), values);
reduceDriver.addOutput(new Text("test[] = [7.0, 8.0, 15.0, 20.0]"), NullWritable.get());