Ejemplo n.º 1
0
        // Tests to make sure that you can add a node just fine
        public void Add_NodeToLinkList_NoException()
        {
            BrigitGraph ll = new BrigitGraph();
            Node        n1 = new Node()
            {
                Data = 1
            };

            ll.AddNode(n1);
            Node n2 = new Node()
            {
                Data = 2
            };

            ll.AddNode(n2);

            string dotFile = ll.ToString();
        }