public void CalculateTest(double firstValue, double expected) { var calculator = new Cos(); var actualResult = calculator.Calculate(firstValue); Assert.AreEqual(expected, actualResult, 0.01); }
public void CalculateTest(double argument, double result, double accracy) { var testingFunction = new Cos(); var testResult = testingFunction.Calculate(argument); Assert.AreEqual(result, testResult, accracy); }
public void TestCos(double firstArgument, double output) { var calculator = new Cos(); var testResult = calculator.Calculate(firstArgument); Assert.AreEqual(output, testResult, 0.0000001); }
public void CosTest(double first, double expected) { IOneCalculation calculator = new Cos(); double result = calculator.Calculate(first); Assert.AreEqual(expected, result); }
public void AddTest(double first, double expected) { Cos calculator = new Cos(); double result = calculator.Calculate(first); Assert.AreEqual(expected, result, 0.0001); }
public void CalculateTest(double argument, double result) { var calculator = new Cos(); var testResult = calculator.Calculate(argument); Assert.AreEqual(result, testResult); }
public void CosTest(double first, double expected) { IoneCalculate calc = new Cos(); double result = calc.Calculate(first); Assert.AreEqual(expected, result, 0.001); }
public void CosCalculatorTests(double firstArgument, double result) { var calculator = new Cos(); var actualResult = calculator.Calculate(firstArgument); Assert.AreEqual(result, actualResult, 0.0001); }
public void CosTest(double first, double expected) { ISingleCalculator calculate = new Cos(); double result = calculate.Calculate(first); Assert.AreEqual(expected, result, 0.00001); }
public void Calculate() { Cos calculator = new Cos(); double result = calculator.Calculate(0); Assert.AreEqual(1, result, 0.001); }
public void CalculateCosTestStrong(double firstValue, double expected) { IOneArgumentCalculator calculator = new Cos(); double result = calculator.Calculate(firstValue); Assert.AreEqual(expected, result, 0.00001); }
public void Calculate(double input, double output) { var calculator = new Cos(); var testResult = calculator.Calculate(input); var result = output; Assert.AreEqual(testResult, result, 0.1); }