METHOD_0 ( ) { java . util . concurrent . IDENT_0 pool = java . util . concurrent . IDENT_1 . METHOD_1 ( 10 ) ; int [ ] batch = new int [ ] { 0 , 0 , 1 , 1 , 2 , 2 , 2 , 3 , 3 , 4 , 5 , 5 , 1 } ; edu . IDENT_2 . IDENT_3 . util . random . IDENT_4 . METHOD_2 ( java . lang . System . currentTimeMillis ( ) ) ; edu . IDENT_2 . IDENT_3 . IDENT_5 . IDENT_6 . METHOD_3 ( batch ) ; java . util . List < java . lang . Integer > results = edu . IDENT_2 . IDENT_7 . util . IDENT_8 . METHOD_4 ( pool , batch , new edu . IDENT_2 . IDENT_7 . util . IDENT_9 . METHOD_5 ( ) ) ; int [ ] res = edu . IDENT_2 . IDENT_7 . util . collections . IDENT_10 . METHOD_6 ( results ) ; edu . IDENT_2 . IDENT_3 . IDENT_11 . IDENT_12 . METHOD_7 ( batch ) ; edu . IDENT_2 . IDENT_3 . IDENT_11 . IDENT_12 . METHOD_7 ( res ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( java . util . List ) { int [ ] array = new int [ list . size ( ) ] ; int i = 0 ; for ( java . lang . Integer v : list ) { array [ ( i ++ ) ] = v ; } return array ; }
org . junit . Assert . assertArrayEquals ( batch , res )