some checks for the clearobservations method . concode_field_sep double EPSILON concode_field_sep void testCloning concode_elem_sep void testRemoveAllBins concode_elem_sep void testSerialization concode_elem_sep void testEquals
void function ( ) { SimpleHistogramDataset loc0 = new SimpleHistogramDataset ( "srini_string" ) ; loc0 . clearObservations ( ) ; assertEquals ( 0 , loc0 . getItemCount ( 0 ) ) ; loc0 . addBin ( new SimpleHistogramBin ( 0.0 , 1.0 ) ) ; loc0 . addObservation ( 0.5 ) ; assertEquals ( 1.0 , loc0 . getYValue ( 0 , 0 ) , EPSILON ) ; }