def METHOD_NAME(interp_method):
    coord = np.random.rand(10, 2)
    input_array = np.random.rand(10, 2)
    xgrid, ygrid = np.linspace(0, 1, 10), np.linspace(0, 1, 10)
    interp = get_method(interp_method)
    output = interp(coord, input_array, xgrid, ygrid)
    assert isinstance(output, np.ndarray)
    assert output.ndim == 3
    assert output.shape[0] == 2
    assert output.shape[1:] == (ygrid.size, xgrid.size)
    assert np.isfinite(output).all()