METHOD_0 ( ) { final org . IDENT_0 . IDENT_1 . device . IDENT_2 device = METHOD_1 ( ) ; device . start ( ) ; device . write ( 1.0 ) ; MOD_0 ( device ) { device . METHOD_2 ( INT_0 ) ; } final java . lang . Thread IDENT_3 = new java . lang . Thread ( new java . lang . METHOD_3 ( ) { @ org . IDENT_0 . IDENT_1 . Override public void run ( ) { try { for ( int i = 1 ; i <= 5 ; ++ i ) { java . lang . Thread . sleep ( INT_1 ) ; System . out . println ( ( STRING_0 + i ) ) ; device . write ( java . lang . Double . valueOf ( i ) ) ; } } catch ( java . lang . Exception ex ) { ex . printStackTrace ( ) ; } } } , STRING_1 ) ; IDENT_3 . start ( ) ; final org . IDENT_0 . IDENT_1 . condition . IDENT_4 condition = new org . IDENT_0 . IDENT_1 . condition . METHOD_4 ( device , org . IDENT_0 . IDENT_1 . command . IDENT_5 . IDENT_6 , FLOAT_0 , FLOAT_1 , null ) ; condition . METHOD_5 ( ) ; System . out . println ( STRING_2 ) ; condition . METHOD_6 ( FLOAT_2 ) ; condition . METHOD_5 ( ) ; System . out . println ( STRING_3 ) ; System . out . println ( STRING_4 ) ; device . write ( java . lang . Double . valueOf ( FLOAT_3 ) ) ; MOD_0 ( device ) { device . METHOD_2 ( INT_0 ) ; } System . out . println ( STRING_5 ) ; condition . METHOD_6 ( 2.0 ) ; "<AssertPlaceHolder>" ; condition . METHOD_5 ( ) ; IDENT_3 . join ( ) ; device . METHOD_7 ( ) ; } METHOD_8 ( ) { final double value = org . IDENT_0 . IDENT_1 . device . IDENT_7 . METHOD_9 ( device . read ( ) ) ; switch ( IDENT_8 ) { case IDENT_6 : return ( java . lang . Math . METHOD_10 ( ( ( IDENT_9 ) - value ) ) ) <= ( IDENT_10 ) ; case IDENT_11 : return value >= ( IDENT_9 ) ; case IDENT_12 : return value > ( IDENT_9 ) ; case IDENT_13 : return value <= ( IDENT_9 ) ; case IDENT_14 : return value < ( IDENT_9 ) ; case IDENT_15 : return value >= ( ( IDENT_16 ) + ( IDENT_9 ) ) ; case IDENT_17 : return value <= ( ( IDENT_16 ) - ( IDENT_9 ) ) ; default : throw new java . lang . METHOD_11 ( ( STRING_6 + ( IDENT_8 ) ) ) ; } }
org . junit . Assert . assertThat ( condition . METHOD_8 ( ) , org . hamcrest . CoreMatchers . equalTo ( true ) )