METHOD_0 ( ) { org . openscience . cdk . group . IDENT_0 IDENT_1 = METHOD_1 ( METHOD_2 ( ) , false ) ; org . openscience . cdk . group . IDENT_2 IDENT_3 = new org . openscience . cdk . group . METHOD_3 ( IDENT_1 ) ; org . openscience . cdk . group . IDENT_4 IDENT_5 = IDENT_3 . METHOD_4 ( org . openscience . cdk . group . IDENT_4 . unit ( 8 ) ) ; org . openscience . cdk . group . IDENT_4 expected = org . openscience . cdk . group . IDENT_4 . METHOD_5 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . String ) { if ( ( IDENT_6 == null ) || ( IDENT_6 . isEmpty ( ) ) ) throw new java . lang . IllegalArgumentException ( STRING_1 ) ; org . openscience . cdk . group . IDENT_4 p = new org . openscience . cdk . group . METHOD_6 ( ) ; int index = 0 ; if ( ( IDENT_6 . charAt ( 0 ) ) == STRING_2 ) { index ++ ; } int IDENT_7 ; if ( ( IDENT_6 . charAt ( ( ( IDENT_6 . length ( ) ) - 1 ) ) ) == STRING_3 ) { IDENT_7 = ( IDENT_6 . length ( ) ) - 2 ; } else { IDENT_7 = ( IDENT_6 . length ( ) ) - 1 ; } int IDENT_8 = - 1 ; int IDENT_9 = - 1 ; while ( index <= IDENT_7 ) { char c = IDENT_6 . charAt ( index ) ; if ( java . lang . IDENT_10 . METHOD_7 ( c ) ) { if ( IDENT_9 == ( - 1 ) ) { IDENT_9 = index ; } } else if ( c == STRING_4 ) { int element = java . lang . Integer . METHOD_8 ( IDENT_6 . substring ( IDENT_9 , index ) ) ; if ( IDENT_8 == ( - 1 ) ) { p . METHOD_9 ( element ) ; IDENT_8 = 0 ; } else { p . METHOD_10 ( IDENT_8 , element ) ; } IDENT_9 = - 1 ; } else if ( c == STRING_5 ) { int element = java . lang . Integer . METHOD_8 ( IDENT_6 . substring ( IDENT_9 , index ) ) ; if ( IDENT_8 == ( - 1 ) ) { p . METHOD_9 ( element ) ; IDENT_8 = 0 ; } else { p . METHOD_10 ( IDENT_8 , element ) ; } IDENT_8 ++ ; p . METHOD_9 ( ) ; IDENT_9 = - 1 ; } index ++ ; } int IDENT_11 = java . lang . Integer . METHOD_8 ( IDENT_6 . substring ( IDENT_9 , ( IDENT_7 + 1 ) ) ) ; p . METHOD_10 ( IDENT_8 , IDENT_11 ) ; return p ; }
org . junit . Assert . assertEquals ( expected , IDENT_5 )