#NEWLINE# def test_delay_2( self ) : #NEWLINE# #INDENT# 'Test function for delay() 2/6' #NEWLINE# v2 = np . ones ( ( 10 , 1 ) ) #NEWLINE# r2 = np . zeros ( ( 10 , 1 ) ) #NEWLINE# r2 [ 5 : , 0 ] = 1 #NEWLINE# self . assertTrue ( np . allclose ( delay ( v2 , 5 ) , r2 ) )