public void Test_ChangeGraphType()
        {
            GraphVizProcessor gvp = new GraphVizProcessor();

            gvp.graph = new Graph(GraphType.Digraph, new Stmt_list());
            gvp.AddEdge("a", "b");

            if (!gvp.graph.ToCode().Contains("->"))
            {
                Assert.Fail("Edge type is not equal to grapf type before change.");
            }

            gvp.ChangeGraphType(GraphType.Graph);

            if (!gvp.graph.ToCode().Contains("--"))
            {
                Assert.Fail("Edge type is not equal to graph type after change.");
            }
        }