test ( ) { net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . support . IDENT_4 root = net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . support . IDENT_5 . init ( STRING_0 ) ; System . out . println ( ( STRING_1 + ( net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . support . IDENT_5 . METHOD_0 ( root ) ) ) ) ; System . out . println ( METHOD_1 ( root ) ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . support . IDENT_4 ) { net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . List < net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . List < java . lang . Integer > > res = new net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . ArrayList ( ) ; net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . Map < java . lang . Integer , net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . List < java . lang . Integer > > IDENT_6 = new net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . HashMap ( ) ; if ( root == null ) return res ; int min = 0 ; int max = 0 ; net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_7 < net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . support . IDENT_4 > q = new net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_2 ( ) ; net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_7 < java . lang . Integer > IDENT_8 = new net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_2 ( ) ; q . add ( root ) ; IDENT_8 . add ( 0 ) ; while ( ( ! ( q . isEmpty ( ) ) ) && ( ! ( IDENT_8 . isEmpty ( ) ) ) ) { net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . support . IDENT_4 node = q . METHOD_3 ( ) ; int IDENT_9 = IDENT_8 . METHOD_3 ( ) ; if ( ! ( IDENT_6 . containsKey ( IDENT_9 ) ) ) { IDENT_6 . put ( IDENT_9 , new net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . ArrayList ( ) ) ; } IDENT_6 . get ( IDENT_9 ) . add ( node . val ) ; if ( ( node . IDENT_10 ) != null ) { q . add ( node . IDENT_10 ) ; IDENT_8 . add ( ( IDENT_9 - 1 ) ) ; min = java . lang . Math . min ( min , ( IDENT_9 - 1 ) ) ; } if ( ( node . IDENT_11 ) != null ) { q . add ( node . IDENT_11 ) ; IDENT_8 . add ( ( IDENT_9 + 1 ) ) ; max = java . lang . Math . max ( max , ( IDENT_9 + 1 ) ) ; } } for ( int i = min ; i <= max ; i ++ ) { res . add ( IDENT_6 . get ( i ) ) ; } return res ; }
org . junit . Assert . assertThat ( METHOD_1 ( root ) . size ( ) , org . hamcrest . Matchers . is ( 4 ) )