public static void UnitTest(Graph g, string description) { Console.WriteLine(description); Console.WriteLine("-------------------------------------"); Console.Write(g); var euler = new EulerianPath(g); Console.Write("Eulerian path: "); if (euler.HasEulerianPath()) { foreach (int v in euler.Path()) { Console.Write($"{v} "); } Console.WriteLine(); } else { Console.WriteLine("none"); } Console.WriteLine(); }