METHOD_0 ( ) { final int IDENT_0 = INT_0 ; for ( int i = 0 ; i < IDENT_0 ; i ++ ) { int len = org . IDENT_1 . commands . IDENT_2 . IDENT_3 . METHOD_1 ( 100 ) ; java . util . List < org . IDENT_1 . common . kernel . IDENT_4 . geom . IDENT_5 > IDENT_6 = new java . util . ArrayList ( ) ; if ( org . IDENT_1 . commands . IDENT_2 . IDENT_3 . METHOD_2 ( ) ) { for ( int j = 0 ; j < len ; j ++ ) IDENT_6 . add ( new org . IDENT_1 . common . kernel . IDENT_4 . geom . METHOD_3 ( org . IDENT_1 . commands . IDENT_2 . IDENT_3 . METHOD_4 ( ) , org . IDENT_1 . commands . IDENT_2 . IDENT_3 . METHOD_4 ( ) ) ) ; } else { for ( int j = 0 ; j < len ; j ++ ) IDENT_6 . add ( new org . IDENT_1 . common . kernel . IDENT_4 . geom . METHOD_3 ( org . IDENT_1 . commands . IDENT_2 . IDENT_3 . METHOD_1 ( 10 ) , org . IDENT_1 . commands . IDENT_2 . IDENT_3 . METHOD_1 ( 10 ) ) ) ; } java . util . List < org . IDENT_1 . common . kernel . IDENT_4 . geom . METHOD_3 > actual = org . IDENT_1 . common . kernel . IDENT_4 . geom . IDENT_7 . IDENT_8 . METHOD_5 ( IDENT_6 ) ; java . util . List < org . IDENT_1 . common . kernel . IDENT_4 . geom . METHOD_3 > expected = org . IDENT_1 . commands . IDENT_2 . METHOD_6 ( IDENT_6 ) ; "<AssertPlaceHolder>" ; } } METHOD_6 ( java . util . List ) { if ( ( IDENT_6 . size ( ) ) <= 1 ) return new java . util . ArrayList ( IDENT_6 ) ; java . util . List < org . IDENT_1 . common . kernel . IDENT_4 . geom . METHOD_3 > result = new java . util . ArrayList ( ) ; org . IDENT_1 . common . kernel . IDENT_4 . geom . METHOD_3 IDENT_9 = java . util . Collections . min ( IDENT_6 ) ; do { result . add ( IDENT_9 ) ; org . IDENT_1 . common . kernel . IDENT_4 . geom . METHOD_3 next = IDENT_6 . get ( 0 ) ; for ( org . IDENT_1 . common . kernel . IDENT_4 . geom . METHOD_3 p : IDENT_6 ) { double IDENT_10 = ( next . x ) - ( IDENT_9 . x ) ; double IDENT_11 = ( next . y ) - ( IDENT_9 . y ) ; double IDENT_12 = ( p . x ) - ( IDENT_9 . x ) ; double IDENT_13 = ( p . y ) - ( IDENT_9 . y ) ; double IDENT_14 = ( IDENT_10 * IDENT_13 ) - ( IDENT_11 * IDENT_12 ) ; if ( ( IDENT_14 > 0 ) || ( ( IDENT_14 == 0 ) && ( ( ( IDENT_12 * IDENT_12 ) + ( IDENT_13 * IDENT_13 ) ) > ( ( IDENT_10 * IDENT_10 ) + ( IDENT_11 * IDENT_11 ) ) ) ) ) next = p ; } IDENT_9 = next ; } while ( ! ( IDENT_9 . equals ( result . get ( 0 ) ) ) ) ; return result ; }
org . junit . Assert . assertEquals ( expected , actual )