check that counts and quantile estimates are correctly reset after a call to samplequantiles #clear . concode_field_sep SampleQuantiles estimator concode_elem_sep Quantile[] quantiles concode_field_sep void init concode_elem_sep void testCount concode_elem_sep void testQuantileError
void function ( ) { for ( int loc0 = 0 ; loc0 < 1000 ; loc0 ++ ) { estimator . insert ( loc0 ) ; } estimator . clear ( ) ; assertEquals ( estimator . getCount ( ) , 0 ) ; assertEquals ( estimator . getSampleCount ( ) , 0 ) ; assertNull ( estimator . snapshot ( ) ) ; }