#NEWLINE# def test_linear_xi1d( self ) : #NEWLINE# #INDENT# ( points , values ) = self . _get_sample_4d_2 ( ) #NEWLINE# interp = RegularGridInterpolator ( points , values ) #NEWLINE# sample = np . asarray ( [ 0.1 , 0.1 , 10.0 , 9.0 ] ) #NEWLINE# wanted = 1001.1 #NEWLINE# assert_array_almost_equal ( interp ( sample ) , wanted )