# -*- coding: utf-8 -*-
#! /usr/bin/python3

import unittest

class Solution:
    def reverseString(self, s):
        """
        :type s: str
        :rtype: str
        """
        return s[-1::-1]

class Unittest_reverseString(unittest.TestCase):
    def setUp(self):
        self.sol = Solution()

    def test_example1(self):
        inputData = "hello"
        outputData = "olleh"
        self.assertEqual(outputData, self.sol.reverseString(inputData))

    def test_example2(self):
        inputData = "A man, a plan, a canal: Panama"
        outputData = "amanaP :lanac a ,nalp a ,nam A"
        self.assertEqual(outputData, self.sol.reverseString(inputData))

    def tearDown(self):
        self.sol = None

if __name__ == '__main__':
    unittest.main()


9b356406f4b618f4bf78400fb6e20311dc3d64e0
<mask token>


class Unittest_reverseString(unittest.TestCase):

    def setUp(self):
        self.sol = Solution()

    def test_example1(self):
        inputData = 'hello'
        outputData = 'olleh'
        self.assertEqual(outputData, self.sol.reverseString(inputData))

    def test_example2(self):
        inputData = 'A man, a plan, a canal: Panama'
        outputData = 'amanaP :lanac a ,nalp a ,nam A'
        self.assertEqual(outputData, self.sol.reverseString(inputData))

    def tearDown(self):
        self.sol = None


<mask token>

<mask token>


class Solution:
    <mask token>


class Unittest_reverseString(unittest.TestCase):

    def setUp(self):
        self.sol = Solution()

    def test_example1(self):
        inputData = 'hello'
        outputData = 'olleh'
        self.assertEqual(outputData, self.sol.reverseString(inputData))

    def test_example2(self):
        inputData = 'A man, a plan, a canal: Panama'
        outputData = 'amanaP :lanac a ,nalp a ,nam A'
        self.assertEqual(outputData, self.sol.reverseString(inputData))

    def tearDown(self):
        self.sol = None


<mask token>

<mask token>


class Solution:

    def reverseString(self, s):
        """
        :type s: str
        :rtype: str
        """
        return s[-1::-1]


class Unittest_reverseString(unittest.TestCase):

    def setUp(self):
        self.sol = Solution()

    def test_example1(self):
        inputData = 'hello'
        outputData = 'olleh'
        self.assertEqual(outputData, self.sol.reverseString(inputData))

    def test_example2(self):
        inputData = 'A man, a plan, a canal: Panama'
        outputData = 'amanaP :lanac a ,nalp a ,nam A'
        self.assertEqual(outputData, self.sol.reverseString(inputData))

    def tearDown(self):
        self.sol = None


<mask token>

<mask token>


class Solution:

    def reverseString(self, s):
        """
        :type s: str
        :rtype: str
        """
        return s[-1::-1]


class Unittest_reverseString(unittest.TestCase):

    def setUp(self):
        self.sol = Solution()

    def test_example1(self):
        inputData = 'hello'
        outputData = 'olleh'
        self.assertEqual(outputData, self.sol.reverseString(inputData))

    def test_example2(self):
        inputData = 'A man, a plan, a canal: Panama'
        outputData = 'amanaP :lanac a ,nalp a ,nam A'
        self.assertEqual(outputData, self.sol.reverseString(inputData))

    def tearDown(self):
        self.sol = None


if __name__ == '__main__':
    unittest.main()

# -*- coding: utf-8 -*-
#! /usr/bin/python3

import unittest

class Solution:
    def reverseString(self, s):
        """
        :type s: str
        :rtype: str
        """
        return s[-1::-1]

class Unittest_reverseString(unittest.TestCase):
    def setUp(self):
        self.sol = Solution()

    def test_example1(self):
        inputData = "hello"
        outputData = "olleh"
        self.assertEqual(outputData, self.sol.reverseString(inputData))

    def test_example2(self):
        inputData = "A man, a plan, a canal: Panama"
        outputData = "amanaP :lanac a ,nalp a ,nam A"
        self.assertEqual(outputData, self.sol.reverseString(inputData))

    def tearDown(self):
        self.sol = None

if __name__ == '__main__':
    unittest.main()

