Example #1
0
            public override void Add()
            {
                int   i       = reference.Count > 0 ? random.Next((int)reference.Count + 1) : 0;
                int   xStart  = i < reference.Count ? ((INonInvasiveRange2MapInspection)reference).GetRanges()[i].x.start : reference.GetExtent();
                int   xLength = random.Next(100) + 1;
                float value   = (float)random.NextDouble();

                actual.Insert(xStart, xLength, value); // throws when capacity locked & exhausted

                reference.Insert(xStart, xLength, value);
            }
Example #2
0
 public void Insert(int start, int xLength)
 {
     inner.Insert(start, xLength, null);
 }