def test_divide_operation(self): result = process_input(self.a, self.b, "divide") self.assertEqual(result, 2)
def test_subtract_operation(self): result = process_input(self.a, self.b, "subtract") self.assertEqual(result, 5)
def test_multiply_operation(self): result = process_input(self.a, self.b, "multiply") self.assertEqual(result, 50)
def test_add_operation(self): result = process_input(self.a, self.b, "add") self.assertEqual(result, 15)