METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . IDENT_2 root = new org . IDENT_0 . IDENT_1 . METHOD_1 ( STRING_0 ) ; org . IDENT_0 . IDENT_1 . IDENT_3 tree = new org . IDENT_0 . IDENT_1 . METHOD_2 ( root ) ; org . IDENT_0 . IDENT_1 . util . IDENT_4 < org . IDENT_0 . IDENT_1 . METHOD_1 > IDENT_5 = new org . IDENT_0 . IDENT_1 . util . IDENT_4 < org . IDENT_0 . IDENT_1 . METHOD_1 > ( ) ; org . IDENT_0 . IDENT_1 . util . IDENT_6 < org . IDENT_0 . IDENT_1 . METHOD_1 > config = new org . IDENT_0 . IDENT_1 . util . IDENT_6 < org . IDENT_0 . IDENT_1 . METHOD_1 > ( 10 , 20 ) ; org . IDENT_0 . IDENT_1 . IDENT_7 < org . IDENT_0 . IDENT_1 . METHOD_1 > layout = new org . IDENT_0 . IDENT_1 . IDENT_7 < org . IDENT_0 . IDENT_1 . METHOD_1 > ( tree , IDENT_5 , config ) ; java . util . Map < org . IDENT_0 . IDENT_1 . METHOD_1 , java . awt . geom . IDENT_8 . Double > IDENT_9 = layout . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { if ( ( IDENT_9 ) == null ) { IDENT_9 = ( this . IDENT_10 ) ? new java . util . IDENT_11 < IDENT_12 , java . awt . geom . IDENT_8 . Double > ( ) : new java . util . HashMap < IDENT_12 , java . awt . geom . IDENT_8 . Double > ( ) ; for ( java . util . Map . Entry < IDENT_12 , java . awt . geom . IDENT_13 > entry : IDENT_14 . entrySet ( ) ) { IDENT_12 node = entry . getKey ( ) ; java . awt . geom . IDENT_13 pos = entry . getValue ( ) ; double IDENT_15 = METHOD_4 ( node ) ; double IDENT_16 = METHOD_5 ( node ) ; double x = ( pos . METHOD_6 ( ) ) - ( IDENT_15 / 2 ) ; double y = ( pos . METHOD_7 ( ) ) - ( IDENT_16 / 2 ) ; IDENT_9 . put ( node , new java . awt . geom . IDENT_8 . Double ( x , y , IDENT_15 , IDENT_16 ) ) ; } } return IDENT_9 ; }
org . junit . Assert . assertEquals ( IDENT_9 , layout . METHOD_3 ( ) )