12345678910111213141516171819202122232425262728293031 |
- __author__ = "Inyoung Choung"
- import unittest
- from implementation import Impl
- class testSort(unittest.TestCase):
- def runTest(self):
- """
- run Test to see if the expected array is equal to the sorted list.
- :return:
- """
-
- list = ['inyoung', 'banana', 'camera']
-
- result = Impl.sort(self, list)
-
- expected = ['banana', 'camera', 'inyoung']
-
- self.assertEqual(result, expected)
- if __name__ == '__main__':
- unittest.main()
|