test ( ) { char [ ] [ ] IDENT_0 = new char [ ] [ ] { new char [ ] { STRING_0 , STRING_1 , STRING_0 , STRING_1 , STRING_1 } , new char [ ] { STRING_0 , STRING_1 , STRING_0 , STRING_0 , STRING_0 } , new char [ ] { STRING_0 , STRING_0 , STRING_0 , STRING_0 , STRING_0 } , new char [ ] { STRING_0 , STRING_1 , STRING_1 , STRING_0 , STRING_1 } } ; "<AssertPlaceHolder>" ; } METHOD_0 ( char [ ] [ ] ) { if ( ( IDENT_0 == null ) || ( ( IDENT_0 . length ) == 0 ) ) { return 0 ; } int result = 0 ; int [ ] [ ] IDENT_1 = new int [ IDENT_0 . length ] [ IDENT_0 [ 0 ] . length ] ; for ( int i = 0 ; i < ( IDENT_0 . length ) ; i ++ ) { for ( int j = 0 ; j < ( IDENT_0 [ 0 ] . length ) ; j ++ ) { if ( ( i == 0 ) || ( j == 0 ) ) { IDENT_1 [ i ] [ j ] = ( IDENT_0 [ i ] [ j ] ) - STRING_1 ; } else { if ( ( IDENT_0 [ i ] [ j ] ) == STRING_0 ) { IDENT_1 [ i ] [ j ] = ( java . lang . Math . min ( IDENT_1 [ ( i - 1 ) ] [ j ] , java . lang . Math . min ( IDENT_1 [ ( i - 1 ) ] [ ( j - 1 ) ] , IDENT_1 [ i ] [ ( j - 1 ) ] ) ) ) + 1 ; } } result = java . lang . Math . max ( result , ( ( IDENT_1 [ i ] [ j ] ) * ( IDENT_1 [ i ] [ j ] ) ) ) ; } } return result ; }
org . junit . Assert . assertThat ( METHOD_0 ( IDENT_0 ) , org . hamcrest . Matchers . is ( 4 ) )