public void Calcpr( double firstElement, double expected) { var calculator = new Cos(); var actualResult = calculator.OneCalculate(firstElement); Assert.AreEqual(expected, actualResult, 0.01); }