diff --git a/tests/router.py b/tests/router.py new file mode 100644 index 0000000000000000000000000000000000000000..f9ef8254b092c461827ccecfd6b37e5e98f2ec6a --- /dev/null +++ b/tests/router.py @@ -0,0 +1,17 @@ + +import unittest + +from my_sum import sum + + +class TestSum(unittest.TestCase): + def test_list_int(self): + """ + Test that it can sum a list of integers + """ + data = [1, 2, 3] + result = sum(data) + self.assertEqual(result, 6) + +if __name__ == '__main__': + unittest.main()