def METHOD_NAME(test_case):
    arg_dict = OrderedDict()
    arg_dict["test_fun"] = [
        _test_rand,
        _test_rand_tuple_shape,
        _test_different_dtype,
        _test_backward,
        _test_with_generator,
        _test_rand_with_flow_size,
    ]
    arg_dict["device"] = ["cpu", "cuda"]
    arg_dict["shape"] = [(2, 3), (2, 3, 4), (2, 3, 4, 5), (2, 4)]
    for arg in GenArgList(arg_dict):
        arg[0](test_case, *arg[1:])