Пример #1
0
 def subtract(self, a, b):
     self.Result = Subtraction.difference(a, b)
     return self.Result
Пример #2
0
 def subtract(self, a, b):
     self.result = Subtraction.subtract(a, b)
     return self.result
 def test_MathOperations_sub(self):
     result = Subtraction.difference(1, 2)
     self.assertEquals(-1, result)
 def test_MO_sub(self):
     self.assertEqual(-1, Subtraction.subtract(1, 2))
Пример #5
0
 def test_MathOperations_Subtraction(self):
     self.assertEqual(-1, Subtraction.difference(1, 2))
 def test_calculator_subtraction(self):
   self.assertEqual(-1, Subtraction.difference(1,2))