def subtract(self, a, b): self.Result = Subtraction.difference(a, b) return self.Result
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))
def test_MathOperations_Subtraction(self): self.assertEqual(-1, Subtraction.difference(1, 2))
def test_calculator_subtraction(self): self.assertEqual(-1, Subtraction.difference(1,2))