def METHOD_NAME(interp_method):
    coord = np.random.rand(1, 2)
    input_array = np.array([1, 2])[None, :]
    xgrid, ygrid = np.linspace(0, 1, 10), np.linspace(0, 1, 10)
    interp = get_method(interp_method)
    # one sample returns uniform grids
    output = interp(coord, input_array, xgrid, ygrid)
    assert np.isfinite(output).all()
    assert output[0, ...].max() == output[0, ...].min() == 1
    assert output[1, ...].max() == output[1, ...].min() == 2