#NEWLINE# def test_delay_4( self ) : #NEWLINE# #INDENT# 'Test function for delay() 4/6' #NEWLINE# v4 = np . array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) #NEWLINE# r4 = np . array ( [ 0.0 , 1.0 , 2.0 , 3.0 ] ) #NEWLINE# self . assertTrue ( np . allclose ( delay ( v4 , 1 ) , r4 ) )