def METHOD_NAME(test_case):
    arg_dict = OrderedDict()
    arg_dict["test_fun"] = [
        _test_logical_xor_int,
        _test_tensor_logical_xor_int,
        _test_logical_xor_float,
        _test_tensor_logical_xor_float,
    ]
    arg_dict["shape"] = [(2, 3), (2, 4, 5)]
    arg_dict["device"] = ["cpu", "cuda"]
    for arg in GenArgList(arg_dict):
        arg[0](test_case, *arg[1:])