1 public class DescriptorTest
3 public static void Main ()
5 var r = new Random (31415);
6 var objs = new object [9];
8 var last = new Filler [Bitmaps.NumWhich];
9 for (var i = 0; i < 1000000000; ++i)
11 var o = Bitmaps.MakeAndFill (which, objs, r.Next (2) == 0);
12 objs [r.Next (objs.Length)] = o;
17 var l = last [r.Next (Bitmaps.NumWhich)];
24 Console.WriteLine (o.GetType ().Name + " " + which);
28 objs [r.Next (objs.Length)] = null;
30 if (++which >= Bitmaps.NumWhich)