コード例 #1
0
        public void V()
        {
            IWeaverAllVertices av = vGraph.V;

            Assert.NotNull(av, "Result should be filled.");
            Assert.AreEqual(1, vPathItems.Count, "Incorrect PathItems.Count.");
            Assert.AreEqual(av, vPathItems[0], "Incorrect Path item.");
        }
コード例 #2
0
ファイル: Weave.cs プロジェクト: inthefabric/Fabric
 ////////////////////////////////////////////////////////////////////////////////////////////////
 /*--------------------------------------------------------------------------------------------*/
 public static T ExactIndex <T>(this IWeaverAllVertices pAllVert, T pVertex)
     where T : Vertex, new()
 {
     return(pAllVert.ExactIndex <T>((x => x.VertexId), pVertex.VertexId));
 }