Esempio n. 1
0
 def test_should_apply_func(self):
     array = [1, 2, 3]
     self.assertEqual(func.adder(array), [2, 3, 4])
Esempio n. 2
0
 def test_should_apply_a_func(self):
     array = [1, 2, 3, 4, 5, 6, 7, 8, 9]
     self.assertEqual(func.adder(array), [2, 3, 4, 5, 6, 7, 8, 9, 10])