METHOD_0 ( ) { java . lang . String value = STRING_0 ; float actual = com . itextpdf . IDENT_0 . IDENT_1 . util . IDENT_2 . METHOD_1 ( value , IDENT_3 . IDENT_4 ) ; float expected = FLOAT_0 ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . lang . String ) { int pos = com . itextpdf . IDENT_0 . IDENT_1 . util . IDENT_2 . METHOD_2 ( length ) ; if ( pos == 0 ) { if ( length == null ) { length = STRING_1 ; } throw new com . itextpdf . IDENT_0 . exceptions . METHOD_3 ( com . itextpdf . io . util . IDENT_5 . format ( IDENT_6 . IDENT_7 , length ) ) ; } float f = java . lang . IDENT_8 . METHOD_4 ( length . substring ( 0 , pos ) ) ; java . lang . String unit = length . substring ( pos ) ; if ( ( unit . startsWith ( IDENT_3 . IDENT_4 ) ) || ( ( unit . equals ( "" ) ) && ( IDENT_9 . equals ( IDENT_3 . IDENT_4 ) ) ) ) { return f ; } if ( ( unit . startsWith ( IDENT_3 . IDENT_10 ) ) || ( ( unit . equals ( "" ) ) && ( IDENT_9 . equals ( IDENT_3 . IDENT_10 ) ) ) ) { return f * FLOAT_1 ; } else if ( ( unit . startsWith ( IDENT_3 . IDENT_11 ) ) || ( ( unit . equals ( "" ) ) && ( IDENT_9 . equals ( IDENT_3 . IDENT_11 ) ) ) ) { return ( f / FLOAT_2 ) * FLOAT_1 ; } else if ( ( unit . startsWith ( IDENT_3 . IDENT_12 ) ) || ( ( unit . equals ( "" ) ) && ( IDENT_9 . equals ( IDENT_3 . IDENT_12 ) ) ) ) { return ( ( f / FLOAT_2 ) * FLOAT_1 ) / INT_0 ; } else if ( ( unit . startsWith ( IDENT_3 . IDENT_13 ) ) || ( ( unit . equals ( "" ) ) && ( IDENT_9 . equals ( IDENT_3 . IDENT_13 ) ) ) ) { return ( f / FLOAT_3 ) * FLOAT_1 ; } else if ( ( unit . startsWith ( IDENT_3 . IDENT_14 ) ) || ( ( unit . equals ( "" ) ) && ( IDENT_9 . equals ( IDENT_3 . IDENT_14 ) ) ) ) { return f * FLOAT_4 ; } else if ( ( unit . startsWith ( IDENT_3 . IDENT_15 ) ) || ( ( unit . equals ( "" ) ) && ( IDENT_9 . equals ( IDENT_3 . IDENT_15 ) ) ) ) { return f * FLOAT_5 ; } org . IDENT_16 . IDENT_17 logger = org . IDENT_16 . IDENT_18 . METHOD_5 ( com . itextpdf . IDENT_0 . IDENT_1 . util . IDENT_2 . class ) ; logger . error ( com . itextpdf . io . util . IDENT_5 . format ( IDENT_6 . IDENT_19 , ( unit . equals ( "" ) ? IDENT_9 : unit ) ) ) ; return f ; }
org . junit . Assert . assertEquals ( expected , actual , 0 )