public void DynamicPartitionerTest()
        {
            Partitioning.DynamicPartitioner();
            Partitioning.VisualizeDynamicPartitioner();
            int partitionCount                 = Environment.ProcessorCount * 2;
            int valueCount                     = partitionCount * 10000;
            IEnumerable <int> source           = Enumerable.Range(1, valueCount);
            IEnumerable <int> partitionsSource = new DynamicPartitioner <int>(source).GetDynamicPartitions();
            IEnumerable <int> values           = Partitioning.GetPartitions(partitionsSource, partitionCount).Concat().OrderBy(value => value);

            EnumerableAssert.AreSequentialEqual(source, values);
        }