def test_zero(self): target = 0 assert reverseint.Solution().reverse(target) == 0, "Wrong answer"
def test_examp1(self): target = 123 assert reverseint.Solution().reverse(target) == 321, "Wrong answer"
def test_upperbound(self): target = 8463847412 assert reverseint.Solution().reverse(target) == 0, "Wrong answer"
def test_highnum(self): target = 8463847411 assert reverseint.Solution().reverse( target) == 1147483648, "Wrong answer"
def test_lownum(self): target = -9463847411 assert reverseint.Solution().reverse( target) == -1147483649, "Wrong answer"