def test_calculator_access_subtract_result(self): calculator = Calculator() calculator.Subtract(10, 5) self.assertEqual(5, calculator.Result)
def test_calculator_return_Subtract(self): calculator = Calculator() result = calculator.Subtract(10, 5) self.assertEqual(5, result)