public void GraphCanBeCorrectlyTraversedInBreadth(IGraph <int> sampleGraph) { var traversedNodex = sampleGraph.BreadthFirstTraversal(); CollectionAssert.AreEquivalent(new[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }, traversedNodex.ToArray()); }