private static void BenchmarkWithoutThreads(int equationCount)
{
Console.Write("Время на решение без потоков: ");
var coeffEnumerator = new RandomCoeffEnumerator().GetEnumerator();
Stopwatch watch = Stopwatch.StartNew();
for (int i = 0; i < equationCount; i++)
{
coeffEnumerator.MoveNext();
Equation eq = coeffEnumerator.Current;
Solve(ref eq);
}
watch.Stop();
Console.WriteLine("{0:F4} сек.", watch.Elapsed.TotalSeconds);
}