test ( ) { int result = new com . IDENT_0 . util . IDENT_1 < java . lang . Integer > ( n , 1000 , ( IDENT_2 , IDENT_3 ) -> { int IDENT_4 = 0 ; for ( int i = IDENT_2 + 1 ; i <= IDENT_3 ; i ++ ) IDENT_4 += i ; return IDENT_4 ; } , ( a , b ) -> a + b ) . compute ( ) ; "<AssertPlaceHolder>" ; }
org . junit . Assert . assertEquals ( ( ( ( n ) + 1 ) * ( ( n ) / 2 ) ) , result )