public void TanTest(double argument, double result) { var calculator = new Tan(); var testResult = calculator.Calculate(argument); Assert.AreEqual(result, testResult, 0.1); }
public void CalculateTanTestStrong(double firstValue, double expected) { IOneArgumentCalculator calculator = new Tan(); double result = calculator.Calculate(firstValue); Assert.AreEqual(expected, result); }
public void Calculate() { Tan calculator = new Tan(); double result = calculator.Calculate(0); Assert.AreEqual(0, result, 0.001); }
public void TanTest(double firstValue, double expected) { var calculator = new Tan(); var actualResult = calculator.Calculate(firstValue); Assert.AreEqual(expected, actualResult); }
public void TanTest(double first, double expected) { IOneCalculation calculator = new Tan(); double result = calculator.Calculate(first); Assert.AreEqual(expected, result); }
public void CalculateTest(double argument, double result, double accracy) { var testingFunction = new Tan(); var testResult = testingFunction.Calculate(argument); Assert.AreEqual(result, testResult, accracy); }
public void TestTan(double firstArgument, double output) { var calculator = new Tan(); var testResult = calculator.Calculate(firstArgument); Assert.AreEqual(output, testResult, 0.0000001); }
public void TanTest(double first, double expected) { ISingleCalculator calculate = new Tan(); double result = calculate.Calculate(first); Assert.AreEqual(expected, result, 0.00001); }
public void Calculate(double input, double output) { var calculator = new Tan(); var testResult = calculator.Calculate(input); var result = output; Assert.AreEqual(testResult, result, 0.1); }
public void TangensNaNTest() { var calculator = new Tan(); calculator.Calculate(90); }