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 ) ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . support . IDENT_4 ) { int res = 0 ; if ( root == null ) { return res ; } java . util . IDENT_6 < net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . support . IDENT_4 > q = new java . util . METHOD_2 ( ) ; q . add ( root ) ; while ( ! ( q . isEmpty ( ) ) ) { net . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . support . IDENT_4 node = q . METHOD_3 ( ) ; if ( ( ( ( node . IDENT_7 ) != null ) && ( ( node . IDENT_7 . IDENT_7 ) == null ) ) && ( ( node . IDENT_7 . IDENT_8 ) == null ) ) { res += node . IDENT_7 . val ; } if ( ( node . IDENT_7 ) != null ) { q . add ( node . IDENT_7 ) ; } if ( ( node . IDENT_8 ) != null ) { q . add ( node . IDENT_8 ) ; } } return res ; }
org . junit . Assert . assertThat ( METHOD_1 ( root ) , org . hamcrest . Matchers . is ( 6 ) )