Files
QPP/problems/sortlist.py
2025-08-11 21:49:33 +02:00

11 lines
326 B
Python

import unittest
class TestSolution(unittest.TestCase):
def test_sort(self):
# define x as a empty array.
# this will be used for the functiun ; a empty var does not work.
self.x = []
self.assertEqual(sortlist(self.x), sorted(self.x)) ## sort
if __name__ == "__main__":
unittest.main()