def test_sum_with_for_loop(self): u = [random.randint(0,100) for i in range(10)] self.assertEqual(sum(u), Question_1.sum_with_for_loop(u))