public void ReturnSingleVisitedNode()
        {
            ///test that method will return a single visited node
            Graphs graph  = new Graphs();
            Node   testV1 = new Node("Test1");


            graph.AddNode(testV1);

            List <Node> expected = new List <Node>();

            expected.Add(testV1);
            Assert.Equal(expected, graph.BreadFirst(testV1));
        }
        public void ReturnVisitedNodes()
        {
            ///test that method will return ordered list of visited nodes
            Graphs graph  = new Graphs();
            Node   testV1 = new Node("Test1");
            Node   testV2 = new Node("Test2");

            graph.AddNode(testV1);
            graph.AddNode(testV2);
            graph.AddEdge(testV1, testV2, 4);
            List <Node> expected = new List <Node>();

            expected.Add(testV1);
            expected.Add(testV2);
            Assert.Equal(expected, graph.BreadFirst(testV1));
        }