public void CalculateTest(double value, double expected) { var calculator = new Tan(); var actualResult = calculator.SingleCalculate(value); Assert.AreEqual(expected, actualResult, 0.00001); }