def METHOD_NAME(self, uniform_dist):
    pdfshape, gridshape, limits = uniform_dist
    # Define grid
    g = grid.randomgrid(pdfshape, gridshape, limits, 1)
    reg = adaptive.RegularizedRegression(
        pdfshape, gridshape, limits, [1, 1], 10, 1, g)
    new_points = reg.add_n_sampling_points(50)
    assert new_points.shape == (50, 2)
    assert reg.construct_gpc_matrix().shape == (51, 3)