Esempio n. 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);
        }
Esempio n. 2
0
 public static SDS RandomSDS(SimulationContext ctx)
 {
     return(new SDS(random.Next(100), EntityPoolTests.CreateEntities(ctx.LocalSpace, 16).ToArray(), BitCubeTests.RandomIC()));
 }