def test_MathOperations_Addition(self): self.assertEqual(3, Addition.sum(1, 2))
def Sum(self, a, b): self.Result = Addition.sum(a, b) return self.Result
def SumList(self, a): self.Result = Addition.sumList(a) return self.Result
def test_MathOperations_sum_list(self): valuelist = [1, 2, 3] self.assertEqual(6, Addition.sum(valuelist))