def METHOD_NAME(func, args, size):
    seed = 42
    gen_np = np.random.Generator(np.random.PCG64(seed=seed))
    gen_num = num.random.Generator(num.random.XORWOW(seed=seed))
    a_np = getattr(gen_np, func)(*args, size=size)
    a_num = getattr(gen_num, func)(*args, size=size)
    assert a_np.shape == a_num.shape