Ejemplo n.º 1
0
        public void AdjacencyMatrixToGraphTest()
        {
            DirectedGraph graph = this.GetTestGraph();
            DirectedGraph createByAdjacencyMatrix = DirectedGraph.CreateByAdjacencyMatrix(this.GetTestAdjacencyMatrix());

            Assert.AreEqual(graph, createByAdjacencyMatrix);
        }