コード例 #1
0
 def test_MathOperations_multiplication(self):
     self.assertEqual(6, Multiplication.multiply(2, 3))
コード例 #2
0
 def test_MathOperations_multi_list(self):
     multilist = [2, 2, 2]
     self.assertEqual(8, Multiplication.multiply(multilist))
コード例 #3
0
 def Multiplication(self, a, b):
     self.Result = Multiplication.multiply(a, b)
     return self.Result