#NEWLINE# def test_linear_edges( self ) : #NEWLINE# #INDENT# ( points , values ) = self . _get_sample_4d ( ) #NEWLINE# interp = RegularGridInterpolator ( values , values ) #NEWLINE# sample = np . asarray ( [ [ 0.0 , 0.0 , 0.0 , 0.0 ] , [ 1.0 , 1.0 , 1.0 , 1.0 ] ] ) #NEWLINE# wanted = np . asarray ( [ 0.0 , 1111.0 ] ) #NEWLINE# assert_array_almost_equal ( interp ( sample ) , wanted )