public void ExponentSolveToMidPointTest1() { foreach (var sp in Ode.MidPoint(0, 1, (t, x) => - x, new Options { RelativeTolerance = 1e-3, InitialStep = 0.1 }).SolveTo(1000)) { Assert.IsTrue(Math.Abs(sp.X[0] - Math.Exp(-sp.T)) < 1e-2); } }