#NEWLINE# def test_sorted( self ) : #NEWLINE# #INDENT# pyfunc = sorted_usecase #NEWLINE# cfunc = jit ( nopython = True ) ( pyfunc ) #NEWLINE# for size in ( 20 , 50 , 500 ) : #NEWLINE# #INDENT# orig = ( np . random . random ( size = size ) * 100 ) #NEWLINE# expected = sorted ( orig ) #NEWLINE# got = cfunc ( orig ) #NEWLINE# self . assertPreciseEqual ( got , expected ) #NEWLINE# self . assertNotEqual ( list ( orig ) , got )