#NEWLINE# def test_to_array_sub_window( self ) : #NEWLINE# #INDENT# win = WavFileTimeWindow ( subwin . files [ 0 ] , 3.14 ) #NEWLINE# subwin = win . get_subwindow ( 3.14 , 3.64 ) #NEWLINE# values = np . ones ( ( 0.5 * WAV_RATE ) ) #NEWLINE# array_win = subwin . to_array_window ( ) #NEWLINE# np . testing . assert_array_equal ( array_win . array , values )