def METHOD_NAME(test_case):
    arg_dict = OrderedDict()
    arg_dict["test_fun"] = [_test_forward_and_backward]
    arg_dict["device"] = ["cpu", "cuda"]
    for arg in GenArgList(arg_dict):
        arg[0](test_case, *arg[1:])