Esempio n. 1
0
 def test_MathOperations_multiplication(self):
     self.assertEqual(2, Multiplication.multiplication(1, 2))
Esempio n. 2
0
 def test_MathOperations_multiplication(self):
     self.assertEqual(6, Multiplication.product(3, 2))
 def Multiplication(self, a, b):
     self.Result = Multiplication.multiplication(a, b)
     return self.Result
Esempio n. 4
0
 def test_MathOperations_multiplication(self):
     self.assertEqual(6, Multiplication.multiply(2, 3))
 def test_MathOperations_multi_list(self):
     multilist = [2, 2, 2]
     self.assertEqual(8, Multiplication.multiply(multilist))
Esempio n. 6
0
def Product(a, b):
    return Multiplication.product(a, b)
Esempio n. 7
0
 def test_MathOperations_multiplication(self):
     Multiplication.product(1, 2)
     self.assertEqual(2, Multiplication.product(1, 2))
Esempio n. 8
0
 def Multiply(self, a, b):
     self.Result = Multiplication.multiply(a, b)
     return a * b
Esempio n. 9
0
 def Multiply(self, a, b):
     self.Result = Multiplication.product(a, b)
     return self.Result
 def test_MathOperations_Multiplication(self):
     self.assertEqual(24, Multiplication.multiplication(3, 8))
 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))
Esempio n. 14
0
 def Product(self, a, b):
     self.Result = Multiplication.product(a, b)