示例#1
0
        public void CalculateShortestPathIntegrationTest()
        {
            Assert.Inconclusive("TODO.");

            IRead       target              = CreateIRead();            // TODO: Initialize to an appropriate value
            List <Path> result              = null;                     // TODO: Initialize to an appropriate value
            List <Path> resultExpected      = null;                     // TODO: Initialize to an appropriate value
            string      algorithmname       = string.Empty;             // TODO: Initialize to an appropriate value
            int         sourceVertexId      = 0;                        // TODO: Initialize to an appropriate value
            int         destinationVertexId = 0;                        // TODO: Initialize to an appropriate value
            int         maxDepth            = 0;                        // TODO: Initialize to an appropriate value
            double      maxPathWeight       = 0F;                       // TODO: Initialize to an appropriate value
            int         maxResults          = 0;                        // TODO: Initialize to an appropriate value

            PathDelegates.EdgePropertyFilter edgePropertyFilter = null; // TODO: Initialize to an appropriate value
            PathDelegates.VertexFilter       vertexFilter       = null; // TODO: Initialize to an appropriate value
            PathDelegates.EdgeFilter         edgeFilter         = null; // TODO: Initialize to an appropriate value
            PathDelegates.EdgeCost           edgeCost           = null; // TODO: Initialize to an appropriate value
            PathDelegates.VertexCost         vertexCost         = null; // TODO: Initialize to an appropriate value
            bool expected = false;                                      // TODO: Initialize to an appropriate value
            bool actual;

            actual = target.CalculateShortestPath(out result, algorithmname, sourceVertexId, destinationVertexId, maxDepth, maxPathWeight, maxResults, edgePropertyFilter, vertexFilter, edgeFilter, edgeCost, vertexCost);
            Assert.AreEqual(resultExpected, result);
            Assert.AreEqual(expected, actual);
        }