#NEWLINE# def test_subset_with_single_dataset( self ) : #NEWLINE# #INDENT# out = writer . generate_evaluation_information ( self . evaluation ) #NEWLINE# subset = out [ 'subset' ] #NEWLINE# ( ds_lat_min , ds_lat_max , ds_lon_min , ds_lon_max ) = self . dataset . spatial_boundaries ( ) #NEWLINE# ( start , end ) = self . dataset . time_range ( ) #NEWLINE# self . assertEqual ( ds_lat_min , subset [ 0 ] ) #NEWLINE# self . assertEqual ( ds_lat_max , subset [ 1 ] ) #NEWLINE# self . assertEqual ( ds_lon_min , subset [ 2 ] ) #NEWLINE# self . assertEqual ( ds_lon_max , subset [ 3 ] ) #NEWLINE# self . assertEquals ( str ( start ) , subset [ 4 ] ) #NEWLINE# self . assertEquals ( str ( end ) , subset [ 5 ] )