public void Multiply_Accumulator(double a, double b, double c, double result, double tolerance) { var uut = new CalculatorUnit(); uut.Multiply(a, b); Assert.That(uut.Multiply(c), Is.EqualTo(result).Within(tolerance)); }
public double Multiply(double a, double b) { var uut = new CalculatorUnit(); return(uut.Multiply(a, b)); }
public double Multiply_Accumulator_OneParameter(double exponent) { var uut = new CalculatorUnit(); return(uut.Multiply(exponent)); }