METHOD_0 ( ) { org . eclipse . IDENT_0 . dataset . IDENT_1 dataset = org . eclipse . IDENT_0 . dataset . IDENT_2 . METHOD_1 ( new java . lang . Double [ ] { FLOAT_0 , FLOAT_1 , FLOAT_2 , FLOAT_3 , FLOAT_4 , FLOAT_5 } ) ; java . util . List < java . lang . Double > expected = new java . util . ArrayList < java . lang . Double > ( ) ; expected . add ( FLOAT_6 ) ; expected . add ( FLOAT_7 ) ; expected . add ( FLOAT_8 ) ; java . util . List < java . lang . Double > actual = org . eclipse . IDENT_0 . dataset . IDENT_3 . METHOD_2 ( dataset , 1.0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . eclipse . IDENT_0 . dataset . IDENT_1 , double ) { if ( ( d . METHOD_3 ( ) ) != 1 ) { org . eclipse . IDENT_0 . dataset . IDENT_3 . IDENT_4 . error ( STRING_0 ) ; throw new java . lang . METHOD_4 ( STRING_0 ) ; } java . util . List < java . lang . Double > results = new java . util . ArrayList < java . lang . Double > ( ) ; org . eclipse . IDENT_0 . dataset . IDENT_5 it = d . METHOD_5 ( ) ; double IDENT_6 ; double IDENT_7 ; IDENT_7 = ( it . hasNext ( ) ) ? d . METHOD_6 ( it . index ) : 0 ; double x = 1 ; while ( it . hasNext ( ) ) { IDENT_6 = IDENT_7 ; IDENT_7 = d . METHOD_6 ( it . index ) ; if ( ( ( IDENT_6 <= value ) && ( value < IDENT_7 ) ) || ( ( IDENT_6 > value ) && ( IDENT_7 <= value ) ) ) { final double f = ( value - IDENT_7 ) / ( IDENT_7 - IDENT_6 ) ; results . add ( ( x + f ) ) ; } x ++ ; } if ( IDENT_7 == value ) { results . add ( x ) ; } return results ; }
org . junit . Assert . assertEquals ( expected , actual )