accuracy check of realtransformer #transform univariatefunction , double , double , int , transformtype . for each valid data size returned by #getvaliddatasize int getvaliddatasize i , the univariatefunction returned by #getvalidfunction issampled . the actual transform is computed and compared to the expected transform , return by #transform double , transformtype . actual and expected values should be equal to within the relative error returned by #getrelativetolerance int getrelativetolerance i . concode_field_sep long SEED concode_field_sep int getNumberOfValidDataSizes concode_elem_sep double getValidLowerBound concode_elem_sep void testTransformReal concode_elem_sep RealTransformer createRealTransformer concode_elem_sep UnivariateFunction getValidFunction concode_elem_sep void testTransformRealInvalidDataSize concode_elem_sep double getRelativeTolerance concode_elem_sep void testTransformFunctionInvalidBounds concode_elem_sep double getValidUpperBound concode_elem_sep double[] transform concode_elem_sep void testTransformFunctionNotStrictlyPositiveNumberOfSamples concode_elem_sep double[] createRealData concode_elem_sep int getValidDataSize concode_elem_sep int getInvalidDataSize concode_elem_sep void testTransformFunctionInvalidDataSize concode_elem_sep void doTestTransformReal concode_elem_sep void doTestTransformFunction concode_elem_sep int getNumberOfInvalidDataSizes
void function ( ) { final TransformType [ ] loc0 = TransformType . values ( ) ; for ( int loc1 = 0 ; loc1 < getNumberOfValidDataSizes ( ) ; loc1 ++ ) { final int loc2 = getValidDataSize ( loc1 ) ; final double loc3 = getRelativeTolerance ( loc1 ) ; for ( int loc4 = 0 ; loc4 < loc0 . length ; loc4 ++ ) { doTestTransformFunction ( loc2 , loc3 , loc0 [ loc4 ] ) ; } } }