Example #1
0
        public IEnumerator <object[]> GetEnumerator()
        {
            var graph = GraphGenerator.GetGraph();

            yield return(new object[] { graph, 0, 9, 42 });

            yield return(new object[] { graph, 0, 2, 26 });

            yield return(new object[] { graph, 0, 10, double.MaxValue });

            yield return(new object[] { graph, 0, 11, 31 });

            yield return(new object[] { graph, 0, 1, 37 });
        }
        public IEnumerator <object[]> GetEnumerator()
        {
            var graph = GraphGenerator.GetGraph();

            yield return(new object[] { graph, 0, 9, new int[] { 0, 8, 5, 4, 11, 1, 9 } });

            yield return(new object[] { graph, 0, 2, new int[] { 0, 8, 2 } });

            yield return(new object[] { graph, 0, 10, new int[] { } });

            yield return(new object[] { graph, 0, 11, new int[] { 0, 8, 5, 4, 11 } });

            yield return(new object[] { graph, 0, 1, new int[] { 0, 8, 5, 4, 11, 1 } });
        }