METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 test = new com . IDENT_0 . IDENT_1 . METHOD_1 ( ) ; int [ ] input = new int [ ] { 0 , 1 , 0 , 3 , 12 } ; int [ ] expected = new int [ ] { 1 , 3 , 12 , 0 , 0 } ; test . METHOD_2 ( input ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( int [ ] ) { int IDENT_3 = 0 ; int len = IDENT_4 . length ; while ( IDENT_3 < len ) { if ( ( IDENT_4 [ IDENT_3 ] ) != 0 ) { IDENT_3 ++ ; continue ; } int IDENT_5 = IDENT_3 + 1 ; while ( ( IDENT_5 < len ) && ( ( IDENT_4 [ IDENT_5 ] ) == 0 ) ) { IDENT_5 ++ ; } if ( IDENT_5 == len ) { return ; } IDENT_4 [ IDENT_3 ] = IDENT_4 [ IDENT_5 ] ; IDENT_4 [ IDENT_5 ] = 0 ; } }
org . junit . Assert . assertArrayEquals ( input , expected )