public void BreadthFirstSearch_ReturnsFalse_WhenGraphDoesNotContainSearchItem(string searchItem)
        {
            Graph testGraph = CreateWeightFreeTestGraph();

            var result = GraphFunctions.BreadthFirstSearch <string>(testGraph, searchItem);

            Assert.IsFalse(result);
        }
        public void BreadthFirstSearch_ThrowsArgumentNullException_WhenSearchItemIsNull()
        {
            Graph testGraph = new Graph(new List <Edge>(), new List <Node>());

            Assert.That(() => GraphFunctions.BreadthFirstSearch <string>(testGraph, null), Throws.ArgumentNullException);
        }
        public void BreadthFirstSearch_ThrowsArgumentNullException_WhenGraphIsNull()
        {
            Graph testGraph = null;

            Assert.That(() => GraphFunctions.BreadthFirstSearch <string>(testGraph, ""), Throws.ArgumentNullException);
        }