METHOD_0 ( ) { @ org . IDENT_0 . IDENT_1 . util . IDENT_2 . METHOD_1 ( STRING_0 ) org . IDENT_0 . IDENT_1 . util . IDENT_2 . IDENT_3 < org . IDENT_0 . IDENT_1 . solution . IDENT_4 < ? > > IDENT_5 = mock ( org . IDENT_0 . IDENT_1 . util . IDENT_2 . IDENT_3 . class ) ; org . IDENT_0 . IDENT_1 . solution . IDENT_6 IDENT_7 = mock ( org . IDENT_0 . IDENT_1 . solution . IDENT_6 . class ) ; org . IDENT_0 . IDENT_1 . solution . IDENT_6 IDENT_8 = mock ( org . IDENT_0 . IDENT_1 . solution . IDENT_6 . class ) ; when ( IDENT_5 . compare ( IDENT_7 , IDENT_8 ) ) . thenReturn ( 0 ) ; when ( IDENT_7 . METHOD_2 ( ) ) . thenReturn ( 3 ) ; when ( IDENT_8 . METHOD_2 ( ) ) . thenReturn ( 3 ) ; when ( IDENT_7 . METHOD_3 ( 0 ) ) . thenReturn ( ( - 1.0 ) ) ; when ( IDENT_7 . METHOD_3 ( 1 ) ) . thenReturn ( FLOAT_0 ) ; when ( IDENT_7 . METHOD_3 ( 2 ) ) . thenReturn ( FLOAT_1 ) ; when ( IDENT_8 . METHOD_3 ( 0 ) ) . thenReturn ( ( - 2.0 ) ) ; when ( IDENT_8 . METHOD_3 ( 1 ) ) . thenReturn ( FLOAT_0 ) ; when ( IDENT_8 . METHOD_3 ( 2 ) ) . thenReturn ( FLOAT_1 ) ; IDENT_2 = new org . IDENT_0 . IDENT_1 . util . IDENT_2 . IDENT_9 < org . IDENT_0 . IDENT_1 . solution . IDENT_4 < ? > > ( IDENT_5 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_5 ) . compare ( IDENT_7 , IDENT_8 ) ; verify ( IDENT_7 , times ( 5 ) ) . METHOD_2 ( ) ; verify ( IDENT_7 , times ( 3 ) ) . METHOD_3 ( METHOD_4 ( ) ) ; verify ( IDENT_8 , times ( 3 ) ) . METHOD_3 ( METHOD_4 ( ) ) ; } compare ( IDENT_10 extends org . IDENT_0 . IDENT_1 . solution . IDENT_4 , IDENT_10 extends org . IDENT_0 . IDENT_1 . solution . IDENT_4 ) { if ( ( IDENT_11 . METHOD_5 ( IDENT_7 ) ) == null ) { return 0 ; } double IDENT_12 ; double IDENT_13 ; IDENT_12 = ( IDENT_14 . METHOD_5 ( IDENT_7 ) ) * ( IDENT_11 . METHOD_5 ( IDENT_7 ) ) ; IDENT_13 = ( IDENT_14 . METHOD_5 ( IDENT_8 ) ) * ( IDENT_11 . METHOD_5 ( IDENT_8 ) ) ; if ( ( IDENT_12 < 0 ) && ( IDENT_13 < 0 ) ) { if ( IDENT_12 > IDENT_13 ) { return - 1 ; } else if ( IDENT_13 > IDENT_12 ) { return 1 ; } else { return 0 ; } } else if ( ( IDENT_12 == 0 ) && ( IDENT_13 < 0 ) ) { return - 1 ; } else if ( ( IDENT_12 < 0 ) && ( IDENT_13 == 0 ) ) { return 1 ; } else { return 0 ; } }
org . junit . Assert . assertEquals ( 1 , IDENT_2 . compare ( IDENT_7 , IDENT_8 ) )