def METHOD_NAME(self):
    testcases = [(13,), (0, 11), (-22, 10), (20, 3, -1),
                 (13, 21, 3), (-2, 2, 2)]
    for proto in range(pickle.HIGHEST_PROTOCOL + 1):
        for t in testcases:
            r = xrange(*t)
            self.assertEqual(list(pickle.loads(pickle.dumps(r, proto))),
                             list(r))
    M = min(sys.maxint, sys.maxsize)
    large_testcases = testcases + [
        (0, M, 1),
        (M, 0, -1),
        (0, M, M - 1),
        (M // 2, M, 1),
        (0, -M, -1),
        (0, -M, 1 - M),
        (-M, M, 2),
        (-M, M, 1024),
        (-M, M, 10585),
        (M, -M, -2),
        (M, -M, -1024),
        (M, -M, -10585),
        ]
    for proto in range(pickle.HIGHEST_PROTOCOL + 1):
        for t in large_testcases:
            r = xrange(*t)
            r_out = pickle.loads(pickle.dumps(r, proto))
            self.assert_xranges_equivalent(r_out, r)