public void WriteDescriptionTest() { ReportDetail("Writing"); var factory = new DescriptionSampleFactory(); factory.Graph = this.Graph; factory.Count = FillCount; factory.TestMarker = this.TestMarker; factory.Populate(); this.rootId = factory.Root.Id; factory = null; Close(); ReportSummary("Writes"); }
public virtual void DescriptionTest() { var factory = new DescriptionSampleFactory(); factory.Graph = this.Graph; factory.Populate(); var graph = this.Graph as SchemaThingGraph; graph.Initialize(); TestDescription(factory.Nodes[1], factory.Nodes[2], factory.Edges[1]); TestDescription(factory.Nodes[3], factory.Nodes[4], factory.Edges[2]); TestFindRoots(factory.Nodes[1], factory.Nodes[2], factory.Edges[1]); ReportSummary(); }