public void ValueAtThePoint_Cos_CorrectResultReturned() { Function a = new Cos(); const double x = 1; var expectedResult = Math.Cos(x); Assert.AreEqual(expectedResult, a.ValueAtPoint(x)); }