METHOD_0 ( ) { int [ ] array = new int [ ] { 1 , 2 , 3 , 4 , 5 } ; int k = 1 ; int [ ] IDENT_0 = new int [ ] { 5 , 1 , 2 , 3 , 4 } ; int [ ] result = IDENT_1 . solution ( array , k ) ; for ( int i = 0 ; i < ( array . length ) ; i ++ ) { "<AssertPlaceHolder>" ; } } solution ( int , int [ ] ) { java . util . Set < java . lang . Integer > IDENT_2 = new java . util . HashSet < java . lang . Integer > ( ) ; for ( int i = 0 ; i < ( array . length ) ; i ++ ) { IDENT_2 . add ( array [ i ] ) ; if ( x == ( IDENT_2 . size ( ) ) ) { return i ; } } return - 1 ; }
org . junit . Assert . assertEquals ( IDENT_0 [ i ] , result [ i ] )