public void Divide_Accumulator_ExceptionTesting(double a, double b, double c)
        {
            var uut = new CalculatorUnit();

            uut.Divide(a, b);
            Assert.That(() => uut.Divide(c), Throws.TypeOf <ArgumentException>());
        }
        public void Divide_Accumulator(double a, double b, double c, double result, double tolerance)
        {
            var uut = new CalculatorUnit();

            uut.Divide(a, b);
            Assert.That(uut.Divide(c), Is.EqualTo(result).Within(tolerance));
        }
        public double Divide_ExceptionThrow(double a, double b)
        {
            var uut = new CalculatorUnit();

            Assert.That(() => uut.Divide(a, b), Throws.TypeOf <ArgumentException>());
            return(0);
        }
        public void Divide_Accumulator_OneParameter_ExceptionTesting(double divisor)
        {
            var uut = new CalculatorUnit();

            Assert.That(() => uut.Divide(divisor), Throws.TypeOf <ArgumentException>());
        }
        public double Divide_Accumulator_OneParameter(double exponent)
        {
            var uut = new CalculatorUnit();

            return(uut.Divide(exponent));
        }
        public double Divide(double a, double b)
        {
            var uut = new CalculatorUnit();

            return(uut.Divide(a, b));
        }