public class IntMedianValueAggregatorFunctionTest extends BaseFunctorTest
IntegerMedianValueAggregatorFunction.| Constructor and Description |
|---|
IntMedianValueAggregatorFunctionTest() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
makeFunctor() |
void |
testEmptyList() |
void |
testMedianCopy()
Ensure we compute the median correctly and also we don't affect the
original list.
|
void |
testMedianNotCopy()
Ensure we compute the median correctly and also we sort the original
list.
|
assertObjectsAreEqual, assertObjectsAreNotEqual, testObjectEquals, testSerializeDeserializeThenCompare, testToStringIsOverriddenpublic IntMedianValueAggregatorFunctionTest()
protected Object makeFunctor() throws Exception
makeFunctor in class BaseFunctorTestExceptionpublic void testEmptyList() throws Exception
Exceptionpublic void testMedianCopy() throws Exception
Exceptionpublic void testMedianNotCopy() throws Exception
ExceptionCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.