#NEWLINE# def test_random_ball_vectorized_compiled( ) : #NEWLINE# #INDENT# n = 20 #NEWLINE# m = 5 #NEWLINE# np . random . seed ( 1234 ) #NEWLINE# T = cKDTree ( np . random . randn ( n , m ) ) #NEWLINE# r = T . query_ball_point ( np . random . randn ( 2 , 3 , m ) , 1 ) #NEWLINE# assert_equal ( r . shape , ( 2 , 3 ) ) #NEWLINE# assert_ ( isinstance ( T [ ( 0 , 0 ) ] , list ) )