assertThat(sapply(a, input), is(Tuple4.of(17.29f, 14.5, -0.98, 6)));
}
@Test
public void testTupleN() {
List<TupleN> input = ImmutableList.of(new TupleN(1, 3.0, 1, 2.0, 4L), new TupleN(4, 17.0, 1, 9.7, 12L));
Aggregator<TupleN> a = Aggregators.tupleAggregator(
MIN_INTS(), SUM_DOUBLES(), MAX_INTS(), MIN_DOUBLES(), MAX_LONGS());
assertThat(sapply(a, input), is(new TupleN(1, 20.0, 1, 2.0, 12L)));
}