private static void RunSingleTest(ITest test) { State state = test.GenerateInitialState(); IMethod method = new Runge_Kutta(state.n); //IMethod method = new MethodEuler(); const double dt = 3600 * 60; double time; for (time = 0; time < test.SuggestedFinalTime; time += dt) { bool resulttest = test.Compare(state, time); if (resulttest == false) { //Console.WriteLine("Test {0} failed ", test.GetType().ToString()); // Console.WriteLine(time); break; } Console.WriteLine(time); state = method.Calculate(state, dt); } }