#NEWLINE# def test_left_join_indexer_unique( ) : #NEWLINE# #INDENT# a = np . array ( [ 1 , 2 , 3 , 4 , 5 ] , dtype = np . int64 ) #NEWLINE# b = np . array ( [ 2 , 2 , 3 , 4 , 4 ] , dtype = np . int64 ) #NEWLINE# result = algos . left_join_indexer_unique_int64 ( b , a ) #NEWLINE# expected = np . array ( [ 1 , 1 , 2 , 3 , 3 ] , dtype = np . int64 ) #NEWLINE# assert np . array_equal ( result , expected )