#NEWLINE# def test_to_array_window( self ) : #NEWLINE# #INDENT# win = ConcatTimeWindow ( self . wins [ 1 : ] ) #NEWLINE# values = np . array ( ( list ( range ( 10 ) ) + list ( range ( 20 ) ) ) ) #NEWLINE# subwin = win . get_subwindow ( 4.0 , 7.0 ) #NEWLINE# np . testing . assert_array_equal ( win . to_array_window ( ) . array , subwin ) #NEWLINE# np . testing . assert_array_equal ( subwin . to_array_window ( ) . array , values )