assertEquals(4, worstAggLeaf.getPotentialOutputRange(), 0.001);
}
@Test
public void getPotentialOutputRange_numericTransformer_independentOfAggregation() {
VPlanLeaf avgAggLeaf = createLeafWithNumericTransformer(SampleAggregationMode.AVERAGE);
VPlanLeaf worstAggLeaf = createLeafWithNumericTransformer(SampleAggregationMode.WORST);
assertEquals(5, avgAggLeaf.getPotentialOutputRange(), 0.001);
assertEquals(5, worstAggLeaf.getPotentialOutputRange(), 0.001);
}