public EntityTestSetup(GraphDefinitionSetupDelegate graphSetup) : this(null, graphSetup) { }
protected void SetupTestGraphDefinitionMultipleFrames(GraphDefinitionSetupDelegate graphSetup, StepDelegate systemSetup = null, params StepDelegate[] frameChecks) { SetupMultiEntitiesTestGraph(new List <EntityTestSetup> { new EntityTestSetup(graphSetup) }, ApplyOnlyFirstEntity(systemSetup), frameChecks.Select(ApplyOnlyFirstEntity).ToArray()); }
protected void SetupMultiEntitiesTestGraph(GraphDefinitionSetupDelegate setupA, GraphDefinitionSetupDelegate setupB, StepMultiEntitiesDelegate systemSetup = null, params StepMultiEntitiesDelegate[] frameChecks) { SetupMultiEntitiesTestGraph(new EntityTestSetup(setupA), new EntityTestSetup(setupB), systemSetup, frameChecks); }
public EntityTestSetup(Action <Entity> entityDefined, GraphDefinitionSetupDelegate graphSetup) { GraphSetup = graphSetup; EntityDefined = entityDefined; }