﻿using Calculator.MathModule.Abstraction;

namespace Calculator.MathModule.Operation
{
    public sealed class Add : IOperationCalculatorFunction
    {
        //todo checking input
        public double Compture(double[] inputElement)
        {
            return inputElement[0] + inputElement[1];
        }
    }
}