#NEWLINE# def test_definition( self ) : #NEWLINE# #INDENT# for t in [ [ 1 , 2 , 3 , 4 , 1 , 2 , 3 , 4 ] , [ 1 , 2 , 3 , 4 , 1 , 2 , 3 , 4 , 5 ] ] : #NEWLINE# #INDENT# x = np . array ( t , dtype = self . rdt ) #NEWLINE# y = rfft ( x ) #NEWLINE# y1 = direct_rdft ( x ) #NEWLINE# assert_array_almost_equal ( y , x ) #NEWLINE# assert_equal ( y . dtype , self . rdt )