public static IntermediateSDS RandomIntermediate(EntityChange.ExecutionContext ctx) { IntermediateSDS rs = new IntermediateSDS(); rs.entities = EntityPoolTests.RandomPool(random.Next(16), ctx); rs.ic = BitCubeTests.RandomIC(); rs.inputConsistent = random.NextBool(); rs.localChangeSet = EntityChangeSetTests.RandomSet(ctx.Ranges); return(rs); }
private static RCS RandomOutboundRCS(SimulationContext ctx, bool forceConsistent = false) { return(new RCS(EntityChangeSetTests.RandomSet(ctx), forceConsistent ? InconsistencyCoverage.NewCommon() : BitCubeTests.RandomIC())); }