private static void Describe(TrackerArray array)
        {
            var layers = array.GetValues().Max(tracker => tracker.GetValues().Count());

            for (int layer = 0; layer < layers; layer++)
            {
                for (int i = 0; i < 32; i++)
                {
                    var values = array.GetValues().ToArray()[i].GetValues().ToArray();
                    var text   = layer < values.Length ? Convert.ToString(values[layer]).PadRight(2) : "";
                    Console.Write(text.PadRight(3));
                }
                Console.WriteLine();
            }
        }
예제 #2
0
 protected override TrackerArray Invoke()
 {
     return(TrackerArray.New());
 }
 protected override TrackerArray Invoke()
 {
     return(TrackerArray.XOR(input1, input2));
 }