Example #1
0
 def test_MathOperations_multiplication(self):
     self.assertEqual(6, Multiplication.product(3, 2))
Example #2
0
def Product(a, b):
    return Multiplication.product(a, b)
 def test_MathOperations_multiplication(self):
     Multiplication.product(1, 2)
     self.assertEqual(2, Multiplication.product(1, 2))
Example #4
0
 def Multiply(self, a, b):
     self.Result = Multiplication.product(a, b)
     return self.Result
 def test_MathOperations_Multiply(self):
     self.assertEqual(6, Multiplication.product(2,3))
 def test_MathOperations_Product_list(self):
     numlist = [2, 3, 4]
     self.assertEqual(24, Multiplication.product(numlist))
 def test_MathOperations_Product(self):
     self.assertEqual(18, Multiplication.product(6, 3))
Example #8
0
 def Product(self, a, b):
     self.Result = Multiplication.product(a, b)