def test_extract_array_1d():
 assert np.all((extract_array(np.arange(4), 3, ((-1),), fill_value=(-99)) == np.array([(-99), (-99), 0])))
 assert np.all((extract_array(np.arange(4), 3, (-1), fill_value=(-99)) == np.array([(-99), (-99), 0])))

def test_extract_array_1d ( ) : assert np . all ( ( extract_array ( np . arange ( 4 ) , 3 , ( ( - 1 ) , ) , fill_value = ( - 99 ) ) == np . array ( [ ( - 99 ) , ( - 99 ) , 0 ] ) ) ) assert np . all ( ( extract_array ( np . arange ( 4 ) , 3 , ( - 1 ) , fill_value = ( - 99 ) ) == np . array ( [ ( - 99 ) , ( - 99 ) , 0 ] ) ) )
in 1d .