#NEWLINE# def test_xi_1d( self ) : #NEWLINE# #INDENT# ( points , values ) = self . _sample_4d_data ( ) #NEWLINE# sample = np . asarray ( [ 0.1 , 0.1 , 10.0 , 9.0 ] ) #NEWLINE# v1 = interpn ( points , values , values , bounds_error = False ) #NEWLINE# v2 = interpn ( points , values , sample [ None , : ] , bounds_error = False ) #NEWLINE# assert_allclose ( v1 , v2 )