METHOD_0 ( ) { int size = INT_0 ; int expected = INT_1 ; for ( int i = 0 ; i < 10 ; i ++ ) { int next = org . apache . calcite . IDENT_0 . util . IDENT_1 . METHOD_1 ( ( size + 1 ) ) ; "<AssertPlaceHolder>" ; size = next ; expected OP_0 2 ; } } METHOD_1 ( int ) { if ( i < 0 ) { throw new java . lang . IllegalArgumentException ( ) ; } if ( i > ( 1 << INT_2 ) ) { return Integer . MAX_VALUE ; } if ( i == 0 ) { return 1 ; } int ret = i ; ret OP_1 ; ret OP_2 ret > > 1 ; ret OP_2 ret > > 2 ; ret OP_2 ret > > 4 ; ret OP_2 ret > > 8 ; ret OP_2 ret > > 16 ; ret ++ ; return ret ; }
org . junit . Assert . assertEquals ( expected , next )