#NEWLINE# @ tag ( 'important' ) #NEWLINE# def test_sum1d( self ) : #NEWLINE# #INDENT# pyfunc = usecases . sum1d #NEWLINE# cr = compile_isolated ( pyfunc , ( types . int32 , types . int32 ) ) #NEWLINE# cfunc = cr . entry_point #NEWLINE# ss = ( ( - 1 ) , 0 , 1 , 100 , 200 ) #NEWLINE# es = ( ( - 1 ) , 0 , 1 , 100 , 200 ) #NEWLINE# for args in itertools . product ( ss , es ) : #NEWLINE# #INDENT# self . assertEqual ( pyfunc ( * args ) , cfunc ( * args ) , args )