def METHOD_NAME(self):
    # Check that repr of an xrange is a valid representation
    # of that xrange.
    # Valid xranges have at most min(sys.maxint, sys.maxsize) elements.
    M = min(sys.maxint, sys.maxsize)
    testcases = [
        (13,),
        (0, 11),
        (-22, 10),
        (20, 3, -1),
        (13, 21, 3),
        (-2, 2, 2),
        (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 t in testcases:
        r = xrange(*t)
        r_out = eval(repr(r))
        self.assert_xranges_equivalent(r, r_out)