public void CalculateTest(double firstValue, double expected) { var calculator = new Cos(); var actualResult = calculator.Calculator(firstValue); Assert.AreEqual(expected, actualResult, 0.00001); }