Ejemplo n.º 1
0
        public void Test_ExportImage()
        {
            GraphVizProcessor gvp = new GraphVizProcessor();

            gvp.DotCode = "digraph{a->b}";
            gvp.GenerateGraph();

            gvp.ExportImage(@".\external\testImage.png");

            if (!File.Exists(@".\external\testImage.png"))
            {
                Assert.Fail("Exported image not found.");
            }
        }