Beispiel #1
0
        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);
        }
Beispiel #2
0
 private static RCS RandomOutboundRCS(SimulationContext ctx, bool forceConsistent = false)
 {
     return(new RCS(EntityChangeSetTests.RandomSet(ctx), forceConsistent ? InconsistencyCoverage.NewCommon() : BitCubeTests.RandomIC()));
 }
Beispiel #3
0
 public static SDS RandomSDS(SimulationContext ctx)
 {
     return(new SDS(random.Next(100), EntityPoolTests.CreateEntities(ctx.LocalSpace, 16).ToArray(), BitCubeTests.RandomIC()));
 }