METHOD_0 ( ) { char [ ] [ ] IDENT_0 = new char [ ] [ ] { new char [ ] { STRING_0 , STRING_0 , STRING_0 , STRING_0 } , new char [ ] { STRING_0 , STRING_1 , STRING_1 , STRING_0 } , new char [ ] { STRING_0 , STRING_0 , STRING_1 , STRING_0 } , new char [ ] { STRING_0 , STRING_1 , STRING_0 , STRING_0 } } ; char [ ] [ ] expected = new char [ ] [ ] { new char [ ] { STRING_0 , STRING_0 , STRING_0 , STRING_0 } , new char [ ] { STRING_0 , STRING_0 , STRING_0 , STRING_0 } , new char [ ] { STRING_0 , STRING_0 , STRING_0 , STRING_0 } , new char [ ] { STRING_0 , STRING_1 , STRING_0 , STRING_0 } } ; s . METHOD_1 ( IDENT_0 ) ; for ( int i = 0 ; i < ( IDENT_0 . length ) ; i ++ ) { for ( int j = 0 ; j < ( IDENT_0 [ i ] . length ) ; j ++ ) { "<AssertPlaceHolder>" ; } } } METHOD_1 ( char [ ] [ ] ) { if ( ( ( IDENT_0 == null ) || ( ( IDENT_0 . length ) == 0 ) ) || ( ( IDENT_0 [ 0 ] . length ) == 0 ) ) { return ; } java . util . IDENT_1 < com . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 > queue = new java . util . IDENT_6 < com . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 > ( ) ; for ( int i = 0 ; i < ( IDENT_0 [ 0 ] . length ) ; i ++ ) { if ( ( IDENT_0 [ 0 ] [ i ] ) == STRING_1 ) { queue . METHOD_2 ( new com . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_3 ( 0 , i ) ) ; } } for ( int i = 0 ; i < ( IDENT_0 [ ( ( IDENT_0 . length ) - 1 ) ] . length ) ; i ++ ) { if ( ( IDENT_0 [ ( ( IDENT_0 . length ) - 1 ) ] [ i ] ) == STRING_1 ) { queue . METHOD_2 ( new com . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_3 ( ( ( IDENT_0 . length ) - 1 ) , i ) ) ; } } for ( int i = 1 ; i < ( ( IDENT_0 . length ) - 1 ) ; i ++ ) { if ( ( IDENT_0 [ i ] [ 0 ] ) == STRING_1 ) { queue . METHOD_2 ( new com . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_3 ( i , 0 ) ) ; } } for ( int i = 1 ; i < ( ( IDENT_0 . length ) - 1 ) ; i ++ ) { if ( ( IDENT_0 [ i ] [ ( ( IDENT_0 [ i ] . length ) - 1 ) ] ) == STRING_1 ) { queue . METHOD_2 ( new com . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_3 ( i , ( ( IDENT_0 [ i ] . length ) - 1 ) ) ) ; } } while ( ! ( queue . isEmpty ( ) ) ) { com . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_3 p = queue . METHOD_4 ( ) ; IDENT_0 [ p . x ] [ p . y ] = STRING_2 ; if ( ( ( p . x ) > 0 ) && ( ( IDENT_0 [ ( ( p . x ) - 1 ) ] [ p . y ] ) == STRING_1 ) ) { IDENT_0 [ ( ( p . x ) - 1 ) ] [ p . y ] = STRING_2 ; queue . METHOD_2 ( new com . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_3 ( ( ( p . x ) - 1 ) , p . y ) ) ; } if ( ( ( p . x ) < ( ( IDENT_0 . length ) - 1 ) ) && ( ( IDENT_0 [ ( ( p . x ) + 1 ) ] [ p . y ] ) == STRING_1 ) ) { IDENT_0 [ ( ( p . x ) + 1 ) ] [ p . y ] = STRING_2 ; queue . METHOD_2 ( new com . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_3 ( ( ( p . x ) + 1 ) , p . y ) ) ; } if ( ( ( p . y ) > 0 ) && ( ( IDENT_0 [ p . x ] [ ( ( p . y ) - 1 ) ] ) == STRING_1 ) ) { IDENT_0 [ p . x ] [ ( ( p . y ) - 1 ) ] = STRING_2 ; queue . METHOD_2 ( new com . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_3 ( p . x , ( ( p . y ) - 1 ) ) ) ; } if ( ( ( p . y ) < ( ( IDENT_0 [ p . x ] . length ) - 1 ) ) && ( ( IDENT_0 [ p . x ] [ ( ( p . y ) + 1 ) ] ) == STRING_1 ) ) { IDENT_0 [ p . x ] [ ( ( p . y ) + 1 ) ] = STRING_2 ; queue . METHOD_2 ( new com . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_3 ( p . x , ( ( p . y ) + 1 ) ) ) ; } } for ( int i = 0 ; i < ( IDENT_0 . length ) ; i ++ ) { for ( int j = 0 ; j < ( IDENT_0 [ i ] . length ) ; j ++ ) { if ( ( IDENT_0 [ i ] [ j ] ) == STRING_2 ) { IDENT_0 [ i ] [ j ] = STRING_1 ; } else if ( ( IDENT_0 [ i ] [ j ] ) == STRING_1 ) { IDENT_0 [ i ] [ j ] = STRING_0 ; } } } }
org . junit . Assert . assertEquals ( expected [ i ] [ j ] , IDENT_0 [ i ] [ j ] )