public void TestSecondDerivative(double point, double expected) { Derivative = new Derivative(TypicalFunction); var got = Derivative.GetSecondDerivative(point); // delta подбирается эмпирическим путём Assert.AreEqual(expected, got, delta: 1E-06); }
public void TestSecondDerivative(double point, double expected) { Derivative = new Derivative(TypicalFunction); var got = Derivative.GetSecondDerivative(point); // delta подбирается эмпирическим путём Assert.AreEqual(expected, got, delta: 1E-06); }